The template to create the entity from. The getter must produce a data object of type GameEntityTemplate.
SpawnEntityBlock
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
- DetachDynamicScript
- DetachEntityBlock
- ExecuteFunctionEntityBlock
- GetCurrentScriptHashBlock
- GetEntityDirectionBlock
- GetEntityMapIndexBlock
- GetEntityPositionBlock
- GetEntityRotationBlock
- GetTemplateFromEntityBlock
- HideEntityBlock
- HideEntityTagBlock
- PlaceEntityBlock
- RemoveScriptFromEntity
- RemoveTagFromEntityBlock
- SetEntityPositionBlock
- SetEntityRotationBlock
- SetGameEntityIconEnabled
- SetGameEntityIconOverride
- ShowEntityBlock
- ShowEntityTagBlock
- SpawnEntityBlockcurrent
- SpawnPrefabBlock (removed in patch 16.18)
- GameEntityBlock
Class Documentation
Edit documentationA game entity block that creates an entity from a
GameEntityTemplate at Position, activates it, shows it at once and writes it to the
OutEntity variable.
The block raises a script error if EntityTemplateVar does not produce a
GameEntityTemplate, or if the client fails to create the entity.
Properties
No documentation available yet. Click "Add documentation" to contribute!
Position of the new entity, in world coordinates.