Making
moving vehicles.
Demo
map with moving truck download.
Also has the reveal trigger added.
Create
waypoints on the path you want the vehicle to patrol/move.
If under an 8 player map, create waypoint with special ID.
Waypoints 0-7 indicate player start position. I've started
with waypoint 10 in the demo map.
Place vehicle on map near the first waypoint.
Now
create a Taskforce and name it truck (or car, patrol1, etc)
Add
a unit
Number of Units: 1
Unit type: Truck A
Now
create a script named truck
Add
an action
Type of action: Move to waypoint
Waypoint: (the waypoint where the truck will be unloading)
Add
an action
Type of action: Guard Area
Time units to guard: 10
Add
an action
Type of action: Move to waypoint
Waypoint: (the waypoint the truck came from off the map)
Add
an action
Type of action: Guard Area
Time units to guard: 15
Now
create a new team and name it truck.
Veteran
Level: 1
House: (the house the truck belongs to)
Priority: 5
Max: 5
TechLevel: 0
Group: -1
Waypoint: (the waypoint the truck is on top of off the map)
Script: truck
Task force: truck
Tag: None
Now make sure that none of the boxes at the bottom of that
window are checked!
Now
create a new trigger and name it truck
House:
(house that truck belongs to)
Type: 2 - Repeating
Event
1: 13 Elapsed Time...
Number: (number of seconds before you want the trigger to
begin)
Action
1: 4 Create Team...
Teamtype: Truck
Now
double click on the vehicle and attach the tag to it.