Black Ops III

SpawnActor

Spawns an actor from an actor spawner, if possible (the spawner won't spawn if the player is looking at the spawn point, or if spawning would cause a telefrag)

Example:

spawned = SpawnActor( "spawner_bo3_soldier_ally_sniper_tool", origin, angles, "george", false )

Returns: entity

Parameters

ParameterSummary
*AITypeAI type (constant string)
*originThe position of the vehicle (vector)
*anglesThe angle to spawn the vehicle at (vector)
[targetname]sets the targetname of the spawned entity
[forcespawn]forces a guy to spawn even if the spawn may be visible to the player
[fullyaware]gives the AI full awareness of all enemies
[spawnerEnt]if passed in, then the fields of the spawnerEnt will be duplicated to the newly spawned actor

* = mandatory