Function: GetName(spawn)
Description: Gets the string name of the Spawn.
Parameters:
spawn(Spawn) - Spawn object representingspawn.
Returns: string name of the specified Spawn.
GetNameRegistered in this checkout as EQ2Emu_lua_GetName; implementation found at WorldServer/Lua/LuaFunctions.cpp:3703.
Historical signature: GetName(spawn)
Parameter and behavior details in the historical explanation are under review against the current implementation.
Description: Gets the string name of the Spawn.
Parameters:
spawn (Spawn) - Spawn object representing spawn.Returns: string name of the specified Spawn.
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.
Dialog.AddOption(""..GetName(Spawn).."","Dialog2a")
Evidence: server/SpawnScripts/Baubbleshire/Drizzcopper.lua:52; binding EQ2Emu_lua_GetName.
Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.