Skip to content

AttachDynamicScript

16.19

Class Documentation

Edit documentation

A 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

ScriptDef

Pointer<IDataObjectGet> = null
Edit documentation

The script definition to add. If the getter does not produce a GameEntityScriptDefinition, the block does nothing and raises no error.