mirror of
https://github.com/emagi/eq2emu
synced 2026-08-12 18:23:04 -04:00
407 B
407 B
Function: GetCurrentZoneSafeLocation(spawn)
Description: Returns the X, Y, Z of the current zone safe location by using the supplied Spawn's zone.
Parameters:
spawn(Spawn) - Spawn object representingspawn.
Returns: x,y,z as returned array.
Example:
function cast(Caster, Target)
x,y,z = GetCurrentZoneSafeLocation(Caster)
SetPosition(Caster, x, y, z)
end