The Dink Network

Reply to Re: WinDinkEdit Plus: How to make a thing die? With a conditon.

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 19th 2007, 02:38 PM
slimeg.gif
metatarasal
Bard He/Him Netherlands
I object 
Three things:

a)
if (&story == 0);
Remove semicolons, that's why the game ignores the value of the &story variable.

b)
sp_kill(&current_sprite);
Use sp_active(&current_sprite,0); instead. Though sp_kill(); should work if you would give it the right variables, it's just less direct.

c)
always put unfreeze(1); and &story = 2; before the sp_active(); command. When &current_sprite dies, so does the script and the last part will not be executed.