How can I wait adequately until a cast is finished? I try to cast my pet:
but it still casts twice or thrice, sinc eit doesn't see that the pet is already there it seems. Is there some kind of "wait" command? Couldn't find it in the LUA reference
Code:
if ( action ) then
if (ActionList:IsCasting() == false) then
ActionList:Cast(action.id,0)
end
end
but it still casts twice or thrice, sinc eit doesn't see that the pet is already there it seems. Is there some kind of "wait" command? Couldn't find it in the LUA reference