The Dink Network

Reply to Re: Wait times

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:
 
 
November 1st 2024, 07:07 AM
death.gif
Seseler
Peasant He/Him Heard Island And Mcdonald Islands
 
Wait() will always wait at least 2 frames, so there might be a frame after explosion ending and script continuing; while move_stop (with suitably low sp_timing) will allow the script to make a check every frame.

So wait will work, but there might be a one frame between the explosion ending and the script detecting it.

Edit: actually there might also be one frame delay before move_stop-using script detects explosion ending, if the detector sprite and the explosion are on wrong order on sprite list... and it also requires that the detection script is attached to the sprite. So it might make sense to just use wait just for the simplicity.