Difference between revisions of "LUA:GetSpawnLocationPlacementID"

(Created page with "= LUA Functions: GetSpawnLocationPlacementID() = Gets the location placement ID of the given spawn ==== Syntax ==== var = GetSpawnLocationPlacementID(param1) ==== Parameters ...")
 
(No difference)

Latest revision as of 18:36, 11 September 2013

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