New Lua Function: UseWidget(Spawn)
Posted: Tue Jul 31, 2012 5:11 pm
I added this to help me test the acorn lift and realised it could be used to make the lifts work on their own. This is the spawn script I used and it works great, if the widget is set up properly.
It is set to 15 secs right now but should probably be bumped up, it worked great for me though. Just assign this script to the lift and watch it go.
Code: Select all
function spawn(NPC)
AddTimer(NPC, 15, "LiftUse")
end
function respawn(NPC)
spawn(NPC)
end
function LiftUse(NPC, Spawn)
UseWidget(NPC)
AddTimer(NPC, 15, "LiftUse")
end