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