The script definition to add. If the getter does not produce a GameEntityScriptDefinition, the block does nothing and raises no error.
AttachDynamicScript
Inheritance 2 ancestors · 35 siblings
- IScriptBlock
- GameEntityBlock
- 0xd6d3da87
- ActivateEntityBlock
- ActivateEntityGroup (removed in patch 15.17)
- ActivateEntityTagBlock
- AddScriptToEntity
- AddTagToEntityBlock
- AttachDynamicScriptcurrent
- AttachEntityBlock
- ClearGameEntityIconOverride
- CreateEntityBlock (removed in patch 16.8)
- DeactivateEntityBlock
- DeactivateEntityGroup (removed in patch 15.17)
- DeactivateEntityTagBlock
- DestroyEntityBlock
- DetachDynamicScript
- 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 adds a script instance to the
Target entity from a GameEntityScriptDefinition that a getter produces.
The block raises a script error if the entity does not support scripting, or if the definition links no script.
Properties
No documentation available yet. Click "Add documentation" to contribute!