add entity event: on_fall

This commit is contained in:
MihailRis
2024-06-30 00:32:02 +03:00
parent 3946119a67
commit 50c714692a
5 changed files with 36 additions and 7 deletions
+2 -1
View File
@@ -78,7 +78,8 @@ namespace scripting {
scriptenv on_entity_spawn(const EntityDef& def, entityid_t eid, entity_funcs_set&);
bool on_entity_despawn(const EntityDef& def, const Entity& entity);
bool on_entity_grounded(const EntityDef& def, const Entity& entity);
bool on_entity_grounded(const Entity& entity, float force);
bool on_entity_fall(const Entity& entity);
void on_entities_update();
/// @brief Called on UI view show