No categories assigned
LUA:GetSpawnLocationID
- Last edited 12 years ago by I need to Update My Profile
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