Deactivate
Summary
Deactivates an asset in the scene. A deactivated asset is hidden from view and can no longer perform actions or hold property values of any kind until it is re-activated again using the Activate function.
A deactivated asset will remember its exact state upon deactivation and resume that exact state upon re-activation.
Note: Activating and deactivating assets also disables the ability for the targeted asset to receive property updates and process any attached functionality. Use with caution.
To simply hide or show assets, see HideObject and ShowObject.
Parameters
Target
Type: Text Default: None
Specifies the name or ARDI ID of the asset you would like to deactivate. If using an asset ID, begin the target with the '#' character.
See Also
Examples
<deactivate Target="SomeObject" /> <pause Time="5" /> <activate Target="SomeObject"/>
This code will find the asset named SomeObject and deactivate it. It will then wait for 5 seconds and then activate it again.