The Dink Network

Reply to Re: D-Modding tips 'n tricks

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:
 
 
May 3rd 2010, 12:24 AM
sob_scorpy.gif
DinkDude95
Peasant He/Him Australia
The guy with the cute D-Mod. 
How exactly does &return; work? Reckon someone give give a quick explanations of the features of that variable? I seem to be unenducated in that department.

"You can give things fake brains to keep track of them. For example I needed to keep track of the positions of over 50 sprites, just gave them each a seperate brain number and found them again using get_sprite_with_this_brain."

How do you mean? You assign each sprite a brain using sp_brain(&sprite, ##)? Wouldn't this cause bad behaviour, though? And does it also work for higher numbers than actual brain numbers?