env_entity_maker
< Ru
Jump to navigation
Jump to search

This page has not been fully translated.
You can help by finishing the translation.
Also, please make sure the article tries to comply with the alternate languages guide.

env_entity_maker
- это точечная энтити , доступно для всех игр на движке Source.
энтити в центр env_entity_maker
. Он может быть создан автоматически или через ввод.
Флаги
- 1: Enable AutoSpawn - Создаёт энтити где угодно в комнате, в которой хватит места для энтити, и где не смотрит игрок.
- 2: AutoSpawn: Ждёт энтити для самоуничтожения.
- 4: AutoSpawn: Создаётся, там, где даже смотрит игрок.
- 8:
ForceSpawn
: Создаётся только, если в комнате хватит места для объекта. - 16:
ForceSpawn
: Создаётся, только если игрок не смотрит.
Keyvalues
См. также: Generic Keyvalues, Inputs and Outputs available to all entities
- Name (targetname) <объект источник >
- Имя энтити, по которому другие энтити могут ссылаться на этот объект.
- Point_template To Spawn (EntityTemplate) ([todo internal name (i)]) <целевой объект >
- Name of the
point_template
to spawn here. - PostSpawn Movement Speed (PostSpawnSpeed) ([todo internal name (i)]) <число с плавающей запятой >
- All entities spawned will move this many hammer units per second in the direction of PostSpawn Movement Direction.
- PostSpawn Movement Direction (PostSpawnDirection) ([todo internal name (i)]) <angle >
- All entities spawned in the template will move in this direction.
- PostSpawn Direction Variance (PostSpawnDirectionVariance) ([todo internal name (i)]) <число с плавающей запятой >
- The PostSpawn Movement Direction may vary by this many degrees. This is a radius.
- PostSpawn Inherit Angles (PostSpawnInheritAngles) ([todo internal name (i)]) <булева переменная >
- If Yes, offset the spawn angles by the angles of a Parent.
Inputs
- ForceSpawn
- Spawn an instance of the template at this origin and angle.
- ForceSpawnAtEntityOrigin <целевой объект >
- Spawn an instance of the template at the same origin and angles as a specified entity.
Outputs
- OnEntitySpawned
- Fired when an instance of the entity template has been spawned.
- OnEntityFailedSpawn
- Fired when a
ForceSpawn
input failed to spawn the template, either due to lack of space or being in player's view, depending on the spawnflags.