— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
This is an old revision of the document!
Entity is a generic term that refers to a tile, object, or character within the current scene. In the context of scripting, it is a variable type that's used to reference entities by several possible methods. These are described in the table below.
Reference Type | Description | Example |
---|---|---|
Entity by ID | Refers to the entity with the specified unique ID. | look_at_target(entity[“orange_cat”]) |
Self | Refers to the entity that initiated the containing script. | play_animation(self, “open”) |
Player | Refers to the main player character. | set_movement_speed(player, 60) |