No documentation available yet. Click "Add documentation" to contribute!
AddScriptToEntity
Inheritance 2 ancestors · 35 siblings
- IScriptBlock
- GameEntityBlock
- 0xd6d3da87
- ActivateEntityBlock
- ActivateEntityGroup (removed in patch 15.17)
- ActivateEntityTagBlock
- AddScriptToEntitycurrent
- AddTagToEntityBlock
- AttachDynamicScript
- 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 the inline ScriptDef.
If the entity is active, every script that runs on the entity then receives the
GameEntityOnScriptAttached event. The event variable AttachedScriptHash holds the hash of
the added script.
Properties
No documentation available yet. Click "Add documentation" to contribute!