GetStateOfRayfireMapObject
Docslocal retval = GetStateOfRayfireMapObject(object)Description
See <code>SET_STATE_OF_RAYFIRE_MAP_OBJECT</code> to see the different states
Get a destructible object's state. Substract 1 to get the real state. For example, if the object just spawned (state 2), the native will return 3.
Parameters
| Name | Type | Description |
|---|---|---|
object | Object | — |
Returns
intReturns an integer value.