The Dink Network

Reply to Re: Force enemy to run seq

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:
 
 
February 14th 2014, 03:20 PM
eye.gif
synbi
Peasant He/Him Finland
 
The next logical thing to try might be to make the sprite with a normal enemy brain/attributes, but also spawn another script which has a loop that updates the enemy's sprite constantly, simulating a repeat animation, something simple like:
loop:
sp_frame(&sprite,1)
wait(50);
sp_frame(&sprite,2);
wait(50);
...
goto loop;

I don't remember what the difference between sp_pframe and sp_frame actually was again... just use the one that works