Lua functions

IsFollowing

Registered in this checkout as EQ2Emu_lua_IsFollowing; implementation found at WorldServer/Lua/LuaFunctions.cpp:6800.

Historical signature: IsFollowing(spawn)

Parameter and behavior details in the historical explanation are under review against the current implementation.

Function: IsFollowing(spawn)

Description: Return's true if the spawn following is enabled.

Parameters:

  • spawn (Spawn) - Spawn object representing spawn.

Returns: True if the spawn following is enabled, otherwise false.

Checked example

Active call in a local runtime Lua script. Argument count matches current fixed C++ readers. This is a contextual call pattern, not a tested standalone script.

if IsFollowing(NPC) then

Evidence: server/SpawnScripts/BeggarsCourt/Ro.lua:39; binding EQ2Emu_lua_IsFollowing.

Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.