Difference between revisions of "EntityId"
From Nomad DB
(Created page with "Every Entity that is spawned into the world has an '''Entity Id'''. It is a 64-bit unsigned integer, which is represented in Lua as a string. '''Example''' <pre> 15738498...") |
m |
||
Line 1: | Line 1: | ||
Every [[Entity]] that is spawned into the world has an '''Entity Id'''. It is a 64-bit unsigned integer, which is represented in Lua as a string. | Every [[Entity]] that is spawned into the world has an '''Entity Id'''. It is a 64-bit unsigned integer, which is represented in Lua as a string. | ||
+ | |||
'''Example''' | '''Example''' |
Revision as of 17:36, 14 April 2020
Every Entity that is spawned into the world has an Entity Id. It is a 64-bit unsigned integer, which is represented in Lua as a string.
Example
15738498423673481953
Invalid Entity Id
Some functions that return an Entity Id, might return one that is invalid. To check, if an Entity Id is valid, compare it against GetInvalidEntityId.