add entities.name(...) and entity:get_name(...)
This commit is contained in:
@@ -15,6 +15,9 @@ The entity object is available in components as a global variable **entity**.
|
||||
-- Deletes an entity (the entity may continue to exist until the frame ends, but will not be displayed in that frame)
|
||||
entity:despawn()
|
||||
|
||||
-- Returns entity name (string ID)
|
||||
entity:get_name()
|
||||
|
||||
-- Returns the name of the entity skeleton
|
||||
entity:get_skeleton() -> str
|
||||
-- Replaces the entity skeleton
|
||||
|
||||
Reference in New Issue
Block a user