Difference between revisions of "LUA:GetSpawnLocationID"
(Created page with "= LUA Functions: GetSpawnLocationID() = Gets the location ID of the given spawn ==== Syntax ==== var = GetSpawnLocationID(param1) ==== Parameters ==== ; Required - ''param1''...") |
(No difference)
|
Latest revision as of 18:32, 11 September 2013
LUA Functions: GetSpawnLocationID()
Gets the location ID of the given spawn
Syntax
var = GetSpawnLocationID(param1)
Parameters
- Required - param1 (Spawn)
- param1 is the spawn who's location ID we want
Usage
function hailed(NPC, Spawn)
Say(NPC, "My location ID is: " .. GetSpawnLocationID(NPC))
end
The NPC will respond with its location ID
Notes
Returns an int32