mirror of
https://github.com/emagi/eq2emu
synced 2026-08-12 18:23:04 -04:00
454 B
454 B
Function: IsFollowing(spawn)
Description: Return's true if the spawn following is enabled.
Parameters:
spawn(Spawn) - Spawn object representingspawn.
Returns: True if the spawn following is enabled, otherwise false.
Example:
-- From SpawnScripts/BeggarsCourt/Ro.lua
function ResetFollow(NPC)
if IsFollowing(NPC) then
SetTarget(NPC,nil)
ToggleFollow(NPC)
AttackTimer = false
end