Table Objects
Objects including moveables, statics, cameras, and others.
Functions
GetMoveableByName(name) | Get a moveable by its name. |
GetStaticByName(name) | Get a Static by its name. |
GetMoveablesBySlot(slot) | Get moveables by its slot. |
GetStaticsBySlot(slot) | Get statics by its slot. |
GetRoomsByTag(tag) | Get rooms by tag. |
GetCameraByName(name) | Get a Camera by its name. |
GetSinkByName(name) | Get a Sink by its name. |
GetSoundSourceByName(name) | Get a SoundSource by its name. |
GetAIObjectByName(name) | Get an AIObject by its name. |
GetVolumeByName(name) | Get a Volume by its name. |
GetRoomByName(name) | Get a Room by its name. |
Functions
- GetMoveableByName(name)
-
Get a moveable by its name.
Parameters:
- name string The unique name of the moveable as set in, or generated by, Tomb Editor.
Returns:
-
Moveable
a non-owning Moveable referencing the item.
- GetStaticByName(name)
-
Get a Static by its name.
Parameters:
- name string The unique name of the static mesh as set in, or generated by, Tomb Editor.
Returns:
-
Static
a non-owning Static referencing the static mesh.
- GetMoveablesBySlot(slot)
-
Get moveables by its slot.
Parameters:
- slot
ObjID
The unique slot of the moveable, e.g.
Objects.ObjID.ANIMATING1
.
Returns:
-
table
Table of moveables referencing the given slot.
- slot
ObjID
The unique slot of the moveable, e.g.
- GetStaticsBySlot(slot)
-
Get statics by its slot.
Parameters:
- slot int The unique numerical slot of the static mesh.
Returns:
-
table
Table of static meshes referencing the given slot.
- GetRoomsByTag(tag)
-
Get rooms by tag.
Parameters:
- tag string Tag to select rooms by.
Returns:
-
table
Table of rooms containing the given tag.
- GetCameraByName(name)
-
Get a Camera by its name.
Parameters:
- name string The unique name of the camera as set in, or generated by, Tomb Editor.
Returns:
-
Camera
A non-owning Camera referencing the camera.
- GetSinkByName(name)
-
Get a Sink by its name.
Parameters:
- name string The unique name of the sink as set in, or generated by, Tomb Editor.
Returns:
-
Sink
A non-owning Sink referencing the sink.
- GetSoundSourceByName(name)
-
Get a SoundSource by its name.
Parameters:
- name string The unique name of the sound source as set in, or generated by, Tomb Editor.
Returns:
-
SoundSource
A non-owning SoundSource referencing the sound source.
- GetAIObjectByName(name)
-
Get an AIObject by its name.
Parameters:
- name string The unique name of the AIObject as set in, or generated by, Tomb Editor.
Returns:
-
AIObject
A non-owning AIObject referencing the AI object.
- GetVolumeByName(name)
-
Get a Volume by its name.
Parameters:
- name string The unique name of the volume as set in, or generated by, Tomb Editor.
Returns:
-
Volume
A non-owning Volume referencing the volume.
- GetRoomByName(name)
-
Get a Room by its name.
Parameters:
- name string The unique name of the room as set in Tomb Editor.
Returns:
-
Room
A non-owning Room referencing the room.