Emp vehicle spawner: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 4: | Line 4: | ||
== Parameters == | == Parameters == | ||
*Name | *Name | ||
*; | *;Given name so other entities can refer to this | ||
*Parent | *Parent | ||
*; | *;Entity to which this entity's movements are tied. | ||
*Angles | *Angles | ||
*; | *;Orientation of the current entity (transfers to spawned vehicles) | ||
== Inputs == | == Inputs == |
Revision as of 22:39, 15 April 2009
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