Skip to content

SpawnEntityBlock

16.8

Class Documentation

Edit documentation

A 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

EntityTemplateVar

Pointer<IDataObjectGet> = {}
Edit documentation

The template to create the entity from. The getter must produce a data object of type GameEntityTemplate.

OutEntity

Embed<EntityTableSet> = { "Table": {}, "Var": "" }
Add documentation

No documentation available yet. Click "Add documentation" to contribute!