Entities - GregHib/void GitHub Wiki
Entity is a broad category for everything that exists in the game world, with a second sub-category Character for Player and NPC entities that can move. The main Entity types are:
- Blue - Players
- Green - NPCs (Non-Player Characters)
- Orange - Objects (GameObjects)
- Purple - Floor items
[!NOTE] Item's are considered a part of interfaces not entities, for more info see Inventories.
World
Although only an entity due to technicality the World also has a number of operations the same as other entities.
World spawn and despawn are called on server startup and shutdown:
worldSpawn {
}
worldDespawn {
}
And world timers work the same as other entities:
worldTimerStart("timer_name") {
}
worldTimerTick("timer_name") {
}
worldTimerStop("timer_name") {
}