GameEntityBlock
Inheritance 1 ancestor · 45 siblings · 36 descendants
- IScriptBlock
- 0x24120f89 (removed in patch 15.10)
- 0x28c595ef (removed in patch 15.13)
- 0x3f934c8f (removed in patch 16.21)
- 0x6b73a615
- 0x7c537128
- 0x92b6b7fa
- 0xc5e16ef4
- 0xeda147c3 (removed in patch 16.21)
- BreakBlock
- CallFunctionBlock (removed in patch 14.12)
- ClearBit
- ConcatenateStringsBlock
- ConceptBlockBase15
- ContinueBlock
- CopyCustomTableBlock
- CreateCustomTableBlock
- CreateFunctionBlock (removed in patch 14.22)
- CustomTableContainsValueBlock
- DebugPrintToChatBlock
- DestroyCustomTableBlock
- EndEventBlock
- EndFunctionBlock (removed in patch 15.13)
- FindInString
- FreeformMathBlock
- GameEntityBlockcurrent
- 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
- 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)
- GetAverageValueInCustomTableBlock
- GetHqBlock (removed in patch 15.2)
- GetKeyValueInCustomTableBlock
- GetRandomFromCustomTableBlock
- GetSizeOfCustomTableBlock
- IAsyncBlock
- IBehaviorScriptBlock5
- IClientBlock4
- IGameScreenClientBlock13
- ILoopScriptBlock10
- IRunFunctionBlock5
- IfConditionBlock
- InsertIntoCustomTableBlock
- LevelScriptBlock25
- RemoveFromCustomTableBlock
- ScriptCommentBlock
- SetBit
- SetKeyValueInCustomTableBlock
- ShuffleCustomTableBlock
- SortCustomTableBlock
- SwitchScriptBlock (removed in patch 14.24)
Class Documentation
Edit documentationBase of the script blocks that act on game entities: the objects of the game entity
component system that a GameEntityTemplate creates. IScriptBlock
describes how a block list runs. Output fields (*TableSet) name the script variable that
receives a result, as described on IScriptValueGet.
Most of these blocks read their entity from an IEntityGet operand (Target or Entity),
such as EntityTableGet. The getter produces an entity id, and the
block looks the id up in the client's entity list. If no game entity has that id, the block
raises a script error and the sequence stops. If any operand raises a script error, the block
does nothing.
An entity has two states that these blocks change:
- Active. Activating an entity that is already active does nothing. Several blocks raise a script error if their entity is inactive.
- Visible. An active entity is shown or hidden. A show or a hide runs over a duration, in seconds. A hide can carry a flag that deactivates the entity when the hide ends.
An entity tag is a name that a group of entities carries. The tag blocks act on every entity that carries the tag. Activating a tag activates each inactive entity with the tag. Activating a tag that is already active does nothing.