The Dink Network

Reply to Re: Odd problems...

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 1st 2003, 02:34 PM
custom_simon.gif
SimonK
Peasant He/Him Australia
 
Ted Shutes wrote a little sub-routine which lets you count brains... it's in the dinkc.txt revised version. Basically it finds all the sprites with a certain brain, replaces them with another brain (non functional number like 99) until you've located all brains on the screen with the certain brain, then replaces all brain 99 with the certain brain number again. It doesn't use any wait() commands so it is pretty fast. I used a modified version of this code in PQ, both to count firewood trees that had been put out, and to detect brain 9 creatures when using certain magic and with Skard in attack mode.