BulawOw
Soul of Shinobi
- Joined
- Sep 15, 2014
- Messages
- 204
- Solutions
- 8
- Reaction score
- 62
LUA:
local function animateGate(creature, variant, animationLoop)
animationLoop = animationLoop + 1
print(animationLoop)
if not animationLoop == 3 then
--do stuff
end
end
function onCastSpell(creature, variant)
local animationLoop = 0
addEvent(animateGate, 100, animationLoop)
end
Im stuck on this and cant figure out how to pass this variable this is error im getting