add entities.def_hitbox function

This commit is contained in:
MihailRis
2024-10-29 21:16:25 +03:00
parent e37e45d9d5
commit effdac2d4d
4 changed files with 18 additions and 2 deletions
+3
View File
@@ -23,6 +23,9 @@ entities.exists(uid: int) -> bool
-- Returns entity definition index by UID
entities.get_def(uid: int) -> int
-- Returns entity 'hitbox' property value
entities.def_hitbox(id: int) -> vec3
-- Returns entity definition name by index (string ID).
entities.def_name(id: int) -> str