If true, the block removes every instance of the script. If false, or if the getter fails, it removes only the first instance.
DetachDynamicScript
Inheritance 2 ancestors · 35 siblings
- IScriptBlock
- GameEntityBlock
- 0xd6d3da87
- ActivateEntityBlock
- ActivateEntityGroup (removed in patch 15.17)
- ActivateEntityTagBlock
- AddScriptToEntity
- AddTagToEntityBlock
- AttachDynamicScript
- AttachEntityBlock
- ClearGameEntityIconOverride
- CreateEntityBlock (removed in patch 16.8)
- DeactivateEntityBlock
- DeactivateEntityGroup (removed in patch 15.17)
- DeactivateEntityTagBlock
- DestroyEntityBlock
- DetachDynamicScriptcurrent
- DetachEntityBlock
- ExecuteFunctionEntityBlock
- GetCurrentScriptHashBlock
- GetEntityDirectionBlock
- GetEntityMapIndexBlock
- GetEntityPositionBlock
- GetEntityRotationBlock
- GetTemplateFromEntityBlock
- HideEntityBlock
- HideEntityTagBlock
- PlaceEntityBlock
- RemoveScriptFromEntity
- RemoveTagFromEntityBlock
- SetEntityPositionBlock
- SetEntityRotationBlock
- SetGameEntityIconEnabled
- SetGameEntityIconOverride
- ShowEntityBlock
- ShowEntityTagBlock
- SpawnEntityBlock
- SpawnPrefabBlock (removed in patch 16.18)
- GameEntityBlock
Class Documentation
Edit documentationA game entity block that removes script instances from the
Target entity. It removes the instances of the script that ScriptDef.Script links.
The block raises a script error if the entity does not support scripting, or if the definition links no script.
Properties
The script definition whose script is removed. If the getter does not produce a GameEntityScriptDefinition, the block does nothing and raises no error.
No documentation available yet. Click "Add documentation" to contribute!