mirror of
https://github.com/emagi/eq2emu-content
synced 2026-08-12 20:23:03 -04:00
29 lines
No EOL
678 B
Lua
Executable file
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 |