Object Methods
Perl
Lua
1
$object->ClearUser()
2
$object->Close()
3
$object->Delete([bool reset_state = false])
4
$object->DeleteItem(uint8 index)
5
$object->Depop()
6
$object->EntityVariableExists(string key)
7
$object->GetDBID()
8
$object->GetEntityVariable(string key)
9
$object->GetHeading()
10
$object->GetID()
11
$object->GetIcon()
12
$object->GetItemID()
13
$object->GetModelName()
14
$object->GetSize()
15
$object->GetSize()
16
$object->GetSize()
17
$object->GetSolidType()
18
$object->GetType()
19
$object->GetX()
20
$object->GetY()
21
$object->GetZ()
22
$object->IsGroundSpawn()
23
$object->IsObject()
24
$object->Repop()
25
$object->Save()
26
$object->SetEntityVariable(string key, string var)
27
$object->SetHeading(float heading)
28
$object->SetID(uint16 id)
29
$object->SetIcon(uint32 icon)
30
$object->SetItemID(uint32 item_id)
31
$object->SetLocation(float x, float y, float z)
32
$object->SetModelName(string name)
33
$object->SetSize(float size)
34
$object->SetSolidType(uint16 type)
35
$object->SetTiltX(float tilt_x)
36
$object->SetTiltY(float tilt_y)
37
$object->SetType(uint32 type)
38
$object->SetX(float X)
39
$object->SetY(float Y)
40
$object->SetZ(float Z)
41
$object->StartDecay()
42
$object->VarSave()
Copied!
1
object:ClearUser(); -- void
2
object:Close(); -- void
3
object:Delete(); -- void
4
object:Delete(bool reset_state); -- void
5
object:DeleteItem(int index); -- void
6
object:Depop(); -- void
7
object:EntityVariableExists(const char *name); -- bool
8
object:GetDBID(); -- uint32
9
object:GetHeading(); -- float
10
object:GetID(); -- int
11
object:GetIcon(); -- uint32
12
object:GetItemID(); -- uint32
13
object:GetType(); -- uint32
14
object:GetX(); -- float
15
object:GetY(); -- float
16
object:GetZ(); -- float
17
object:IsGroundSpawn(); -- bool
18
object:Repop(); -- void
19
object:Save(); -- bool
20
object:SetEntityVariable(const char *name, const char *value); -- void
21
object:SetHeading(float h); -- void
22
object:SetID(int user); -- void
23
object:SetIcon(uint32 icon); -- void
24
object:SetItemID(uint32 item_id); -- void
25
object:SetLocation(float x, float y, float z); -- void
26
object:SetModelName(const char *name); -- void
27
object:SetType(uint32 type); -- void
28
object:SetX(float x); -- void
29
object:SetY(float y); -- void
30
object:SetZ(float z); -- void
31
object:StartDecay(); -- void
32
object:VarSave(); -- uint32
Copied!
Last modified 2yr ago
Copy link