Object:GetObjectData¶
Read object data for this object.
object:GetObjectData(dataId)
Inputs: dataId is an integer ObjectData ID.
Output: Integer. Object data, or 0.
Errors and unavailable states: A wrong receiver or argument type can raise a Lua argument error. No separate error result is returned; do not treat the documented fallback as a confirmed game value.
See Lua values and game objects for lifetime and enum guidance.