ID:160829
 
Is it possible to do something after a flick without actually timing it(sleep,spawn)? I want the animation to finish first before the next thing will happen. But i do not want to go through all that trouble to find the right time.
For example.
obj
bomb
verb
Light()
set src in usr
src.loc = usr.loc
usr << "OMG RUN!"
flick("bomb_fuse",src)
// Killing goes here.
del src

This just deletes the thing instantly....Thanks in advance.
Flick uses spawn hence why the del src occurs right after. You have to use sleep or spawn. Currently there is no way of telling how long an animation lasts through code, you need to manually do it.
In response to Kakashi24142
Thanks. That really sucks but OK.