No categories assigned

LUA:GetSpawnLocationPlacementID

LUA Functions: GetSpawnLocationPlacementID()

Gets the location placement ID of the given spawn


Syntax

var = GetSpawnLocationPlacementID(param1)


Parameters

Required - param1 (Spawn)
param1 is the spawn who's location placement ID we want to get


Usage

function hailed(NPC, Spawn)
    Say(NPC, "My location placement ID is: " .. GetSpawnLocationPlacementID(NPC))
end

The NPC will respond with its location placement ID

Notes

Returns an int32