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.
Three things:
a)
if (&story == 0);
Remove semicolons, that's why the game ignores the value of the &story variable.
b)
sp_kill(¤t_sprite);
Use sp_active(¤t_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 ¤t_sprite dies, so does the script and the last part will not be executed.
a)
if (&story == 0);
Remove semicolons, that's why the game ignores the value of the &story variable.
b)
sp_kill(¤t_sprite);
Use sp_active(¤t_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 ¤t_sprite dies, so does the script and the last part will not be executed.








