Hello,
The train was moving well and it run over an enemy's tank 😄. But does that work with other civilian units, I mean can you put a waypoint path across the battlefield for them to follow? And can the train have room for the player's units, so when it is full it goes to the enemy base and vice-versa?
Thank you once again,
João Miguel
JMCF125 wrote:
yes both is possible.
the train is special when it comes down to movement because it is the only unit that will automatically follow the nearest waypoint path without any scripting required.
just put a train (without train cars) somewhere, make some waypoint circle near it and it will automatically follow it.
for cars and other stuff you will need scripts. here is a short tutorial:
1. place units you want to get moving on map on team PlyCivilian and give them a name in the object properties window
2. make a waypoint path and give that path a label (the red text like Flank1, put in Road1 instead for example)
3. go to script menu, click on PlyrCivilian folder, click on new script and go to the action tab of the script (action if true)
4. click "new", search the script Unit -> Move -> Follow exactly wayopint path
5. put the unit name and the waypoint path label into that script
6. click OK OK OK, save the map, start the map and be happy.
i can give you a more detailed description if you need one.
the thing about a garrisonable train is quite a lot more complicated.
try to get the movement stuff to work, come back if you accomplished that and i will try to explain garrisonable trains to you.
Edited by user
14 years ago |
Reason: Not specified