Emp vehicle spawner
Appearance
Description
This entity is used in combination with emp_vehicle_preset give mappers the ability to spawn vehicles on demand. When the SpawnVehicle input is triggered, this entity will search for the specified emp_vehicle_preset and create a vehicle with the current location, orientation, and velocity.
Parameters
- Name
- Given name so other entities can refer to this
- Parent
- Entity to which this entity's movements are tied.
- Angles
- Orientation of the current entity (transfers to spawned vehicles)
Inputs
- SpawnVehicle <string>
- Searches for an map entity with the name specified in the parameter. If the entity is an emp_vehicle_preset, it will read the configuration, and spawn a vehicle.
Outputs
None
How to Use
There has been some confusion about how to actually make this work. The key part is specifying a parameter override for SpawnVehicle containing the preset entity's name.
Step 1 - Create a vehicle preset
Step 2 - Create a vehicle spawner
Step 3 - Create a trigger
In this case, a trigger_multiple brush-based entity is used.