The code after the wait is temporary right now. I dont want to create so many functions for everything that is why I want some kind of wait function.
Let's say I want him to do something and then speak. Wait some time and then continue with something, in the same function.
- - - Updated - - -
function MovedToLocation1(event, delay, pCall, creature, player)
creature:SendUnitYell("I am dead, no big suprise", 0)
creature:SendUnitYell("HAH fool'd ya!", 0)
creature:RegisterEvent(NiklasSpell2, 100, 1)
My example actually worked...
Thanks for fast awnser anyways... I'm new <3