The Dink Network

Reply to Re: Screenlocks

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
August 27th 2006, 04:21 PM
sob_scorpy.gif
Tyrsis
Peasant She/Her Russia
 
Or you may change the "emake" script (the one that creates goodies when a monster dies) and always check if there are creatures with brain 9 or 10, screenlock or no screenlock.
Create a small (size1) unhittable sprite and give it brain 2 (not quite useful in a dmod) and attach a script that only does screenlock(1).
And if you want to lock the screen only once you check if the brain2 sprite exists on the screen and remove it in the same "emake" script when you do screenlock(0).
This way you don't need en extra script with a loop and no extra copies of monster scripts.