Difference between revisions of "EntityId"
From Nomad DB
m |
|||
Line 11: | Line 11: | ||
== Related Pages == | == Related Pages == | ||
* [[GetInvalidEntityId]] | * [[GetInvalidEntityId]] | ||
+ | |||
[[Category:WD2 Lua]] | [[Category:WD2 Lua]] | ||
+ | [[Category:WD2 Entity]] |
Revision as of 17:57, 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.