Emp vehicle spawner: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 16: | Line 16: | ||
== Outputs == | == Outputs == | ||
None | 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 === | |||
[[Image:Step1preset.jpg]] | |||
=== Step 2 - Create a vehicle spawner === | |||
[[Image:Step2spawner.jpg]] | |||
=== Step 3 - Create a trigger === | |||
[[Image:Step3trigger.jpg]] | |||
[[Category:Entity|Empires Parameters]] | [[Category:Entity|Empires Parameters]] |
Revision as of 00:52, 17 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
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.