Spawn Methods (Lua)
Lua
1
spawn:CurrentNPCID(); -- uint32
2
spawn:Depop(); -- void
3
spawn:Disable(); -- void
4
spawn:Enable(); -- void
5
spawn:Enabled(); -- bool
6
spawn:ForceDespawn(); -- void
7
spawn:GetHeading(); -- float
8
spawn:GetID(); -- uint32
9
spawn:GetKillCount(); -- uint32
10
spawn:GetSpawnCondition(); -- uint32
11
spawn:GetVariance(); -- uint32
12
spawn:GetX(); -- float
13
spawn:GetY(); -- float
14
spawn:GetZ(); -- float
15
spawn:LoadGrid(); -- void
16
spawn:NPCPointerValid(); -- bool
17
spawn:Repop(); -- void
18
spawn:Repop(uint32 delay); -- void
19
spawn:Reset(); -- void
20
spawn:RespawnTimer(); -- uint32
21
spawn:SetCurrentNPCID(uint32 nid); -- void
22
spawn:SetNPCPointer(Lua_NPC n); -- void
23
spawn:SetRespawnTimer(uint32 newrespawntime); -- void
24
spawn:SetTimer(uint32 duration); -- void
25
spawn:SetVariance(uint32 newvariance); -- void
26
spawn:SpawnGroupID(); -- uint32
Copied!
Last modified 2yr ago
Copy link