eq2emu-content/SpawnScripts/DoF_design_path_script/4PointBridgeCrosser.lua
2024-10-26 11:37:28 +00:00

29 lines
No EOL
678 B
Lua
Executable file

--[[
Script Name : SpawnScripts/DoF_design_path_script/4PointBridgeCrosser.lua
Script Author : Dorbin
Script Date : 2023.07.19 04:07:23
Script Purpose :
:
--]]
function spawn(NPC)
AddTimer(NPC,3000,"Waypoint")
end
function hailed(NPC, Spawn)
FaceTarget(NPC, Spawn)
end
function respawn(NPC)
spawn(NPC)
end
function Waypoint(NPC,Spawn)
MovementLoopAddLocation(NPC,-70,2.76,-25,4)
MovementLoopAddLocation(NPC,-100,0,-25, 4,3)
MovementLoopAddLocation(NPC,-70,2.76,-25,4)
MovementLoopAddLocation(NPC,-47.5,0,-25, 4,3)
end
function death(NPC,Spawn)
Despawn(NPC)
end