The Dink Network

Reply to Re: Local variable problem

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 8th 2009, 09:25 AM
wizardb.gif
Kyle
Peasant He/Him Belgium
 
Yeah, I was wondering about doing it like that, but I'm not sure how the Dink engine runs its scripts. If it runs them internally in different threads it can execute that script 5 times simultaneously for 5 different enemies, which would mean the global &save_x (or for procedures, the &arg arguments) get overwritten constantly between scripts :/