The Dink Network

Reply to Re: I Need help with a script...

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:
 
 
September 16th 2005, 02:12 PM
spike.gif
Well, the only line needed is
editor_type(&current_sprite, 1);

editor_frame(); is also good for random npcs who introduce themselves the first time met or whatever. There's, what, 10 frames and 4 sequences normal walking sprites have so they can actually hold 40 different values...

Still, globals are the simplest and most powerful way for handling permanent events.