SetStateOfRayfireMapObject
DocsSetStateOfRayfireMapObject(object, state)Description
Defines the state of a destructible object.
Use the GET_RAYFIRE_MAP_OBJECT native to find an object's handle with its name / coords.
State 2 == object just spawned
State 4 == Beginning of the animation
State 6 == Start animation
State 9 == End of the animationParameters
| Name | Type | Description |
|---|---|---|
object | Object | — |
state | int | — |
Returns
voidThis native does not return a value.