how to
Nope, in void attack() the enemy only tries to hit Dink. I want something to be run when he actually hits him...
hehe. I like being italic.
hehe. I like being italic.
There's not really any way, I think.
Euhm... in the attack( void ), put Dinks life into another global, as well as the number of the creature attacking him. Fire up some script that waits for an amount of time (not too long, about a wait(100); will do, I think) then check if Dink's life is less than it was before. If so, the creature hit him and you can use the stored creature's number to do whatever you want. Though I doubt this is efficient.