Member
[Help!] Scripting a GO object with LUA???
Well I saw a guide on how to script a game object to teleport you somewhere (Portal...) and I wa swondering if it would be possible to script it to do other things liek cast a spell on you...?
Here's the script I wrote and I was wondering why it wont work:
Code:
function Cannon_onUse (pUnit, Event, pMisc)
print "Cannon launched!"
pMisc:CastSpell (42867);
end
RegisterGameObjectEvent (186560, 2, "Cannon_onUse")
It says "Cannon launched!" in the arcemu-world.exe window so I know it half-works but it just wont cast the spell on the player...
Last edited by pioneer1337; 07-31-2008 at 09:32 PM.
How do you wake up when the nightmare is real?
These ads disappear when you log in.