Alec212
  • Alec212
  • 51.5% (Neutral)
  • Private Topic Starter
14 years ago
I have all my units and way points set up but i don't know how to make them follow the way point. If anyone could help me with this script it would be highly appreciated. Thank you for your time to read this. 😃
Sponsor
lildavdog
14 years ago
Well, first you have to give the unit a name, or if it is a group of units make a team and name that group the team. Then in scripts, if you want them to follow the waypoints at the start of the game, IF True. Then have team or unit Exactly Follow Waytpoint (Whatever you named it).



If you need me to be more specific just ask.
Gren
  • Gren
  • 100% (Exalted)
  • Major
14 years ago

I have all my units and way points set up but i don't know how to make them follow the way point. If anyone could help me with this script it would be highly appreciated. Thank you for your time to read this. :D

Alec212 wrote:



I used this bit of info I picked up with success...

Make Unit(s) Follow/Patrol a Waypoint Path
*Requires you to go to Edit->Players->Add skirmish players.
A "waypoint path" refers to the arrows that connect each waypoint to each other. They show units how to move from place to place using waypoints as the places to move to and the arrow as the order and direction in which to move.
Waypoint paths can be used instead of "move to location" for a more in-control path. Units only follow these waypoints when told to in scripts.
Place your unit(s) were you want them to move to/patrol (perferable close together, or on the same path it leads on)
Then Place a Waypoint Path (place a waypoint then click and drag from that waypoint to new one) Note: If you want them to patrol an area forever (or until told to stop) Make the last waypoint connect to the first (or if you want them to move to an area then patrol that one put it so its connected to the waypoint you want)
Then click on one of your waypoints and in the object property box, you should see "Waypoint Labels" with spaces under it. Click in the first input area and type in something (example: Patrol).
Then click your unit(s) and give them each a unique name.
Then in scripts create a new script in plyrcivilian with these settings:

IF
'True'

THEN
(Go to Unit->Move->Set a specific unit to EXACTLY Follow a Waypoint path.)
"Unit exactly follow waypoint path "

Then repeat until all the units have been set to patrol/follow path.


I think it was originally for C&C3, but the commands are there in RA3 too.
HTH
UserPostedImage
Alec212
  • Alec212
  • 51.5% (Neutral)
  • Private Topic Starter
14 years ago
How do i make the units team name? In worldbuilder do i just select them all and the just put in something like "Wave 1" in there name and all those units i selected are from wave 1 now?



Drummin
14 years ago
Under Edit/Edit Teams you select the player and click the "Add New Team" button. Name the team then assign the units to this team.