AllowRespawn |
Allows the barrel to respawn after it explodes, waiting RespawnDelay seconds. |
Disable |
Disables and hides the barrel.Disabling the device will remove an existing barrel and reset the respawn delay. |
DisallowRespawn |
Prevents the barrel from respawning.The RespawnDelay countdown will not start. If the countdown has already started, the barrel will not respawn when it ends. |
Enable |
Enables and shows the barrel.Enabling the device when it's disabled will spawn a new barrel. |
GetGlobalTransform |
Gets the global transform of this object. |
GetLaunchForceMultiplier |
Returns the force multiplier to launch the barrel. |
GetRespawnDelay |
Returns the delay between exploding and respawning (if allowed), in seconds. |
GetTransform |
Returns the transform of the creative_object with units in cm. You must check creative_object.IsValid before calling this if there is a possibility the object has been disposed or destroyed by gameplay. Otherwise a runtime error will result. |
IsEnabled |
Succeeds if the barrel is enabled and visible. |
IsRespawnAllowed |
Succeeds if the barrel has respawn allowed. |
MoveTo |
Moves the creative_object to the specified Position and Rotation over the specified time, in seconds. If an animation is currently playing on the creative_object it will be stopped and put into the AnimationNotSet state. |
MoveTo |
Moves the creative_object to the specified Transform over the specified time, in seconds. If an animation is currently playing on the creative_object it will be stopped and put into the AnimationNotSet state. |
MoveTo |
Moves the creative_device to the specified Transform over the specified time, in seconds. If an animation is currently playing on the creative_device it will be stopped and put into the AnimationNotSet state. |
SetGlobalTransform |
Sets the global transform of this object. |
SetLaunchForceMultiplier |
Sets the multiplier applied to the force used when launching.This is clamped between 0.25 and 2.0. |
SetRespawnDelay |
Sets the delay time to respawn the barrel, clamped between 0.0 and 1000.0 seconds.This will override the delay timer if set during the delay countdown. |
TeleportTo |
Teleports the creative_object to the specified Position and Rotation. |
TeleportTo |
Teleports the creative_object to the specified location defined by Transform, also applies rotation and scale accordingly. |
TeleportTo |
Teleports the creative_device to the specified location defined by Transform, also applies rotation and scale accordingly. |