g-ster
  • g-ster
  • 59.75% (Neutral)
  • Private Topic Starter
17 years ago
i can't let the civilians walk....
i created waypoints called "civilians"
then make team "wanderners" (that name is used in the campain missions)
then make script something like "let ???team walk ???waypoints"
but when i tested it it doesn't work
Sponsor
Drummin
17 years ago
There could be a number of reasons this isn't working so I will just show the ways to make civilians walk the path.

*First you need to lay down your pathway:
Using the pathway tool, place your first point and left click and hold down your mouse button as you drag it to the next location. Continue your pathway until you make a loop.

*Name your pathway:
It's important that you name the path using the "Waypoint Path Label:" textbox. See image below.

*Place and name your units:
Place your units on the map and either name each unit or use the team name explained in the next step.

*Using a team instead of named units:
If you would rather use a team name for all your wandering units you would do the following. After adding the skirmish players to the map, create a new player by clicking Edit/Edit Player List.
(I added a player called "Walkers" in this example.)

When placing units on the map you then assign them to the team called "teamWalkers".

*Scripting for named units:
In the plyrcivilian folder you would create a script like this.
*** IF ***
    True.
*** THEN ***
   Unit 'Civilian1' follows waypoints, beginning at Waypoint Path 'CivilianPath1'
   Unit 'Civilian2' follows waypoints, beginning at Waypoint Path 'CivilianPath1'
   Unit 'Civilian3' follows waypoints, beginning at Waypoint Path 'CivilianPath1'

*Scripting for a team:
*** IF ***
    True.
*** THEN ***
  Have Team 'teamWalkers' wander along Waypoint Path 'CivilianPath1'

*Consideration:
If you were planning on having a number of different pathways I would use the "Named Unit" method.
CivilianPath.jpg

Click to View Image96 View(s)

Me Myself and Pi
17 years ago
Well if you'd want them to just walk around randomly, use this script:
*** IF ***
    True.
*** THEN ***
  Have Team 'teamPlyrCivilian' wander around it's current location.
Zero Hour: Team\Move\Set to wander around current location.
Generals: [Team] Set to wander around current location.
Drummin
17 years ago
Again, very good Pi.
g-ster
  • g-ster
  • 59.75% (Neutral)
  • Private Topic Starter
17 years ago
thanks Drummin and Me Myself and Pi
give me 1 day to try ,


if i have more questions can i PM you guys?


i forgot to say i don't have ZH


yes it works fine (but WHOO what are the moving fast)
Drummin
17 years ago
If you have questions it's best to use the forum. This way everyone can help and learn. You can always PM me if you run into problems.
g-ster
  • g-ster
  • 59.75% (Neutral)
  • Private Topic Starter
17 years ago

Well if you'd want them to just walk around randomly, use this script:

*** IF ***
    True.
*** THEN ***
  Have Team 'teamPlyrCivilian' wander around it's current location.
Zero Hour: Team\Move\Set to wander around current location.
Generals: [Team] Set to wander around current location.

Me Myself and Pi wrote:



I have generals and i thought that that script don't exists in generals
Drummin
17 years ago
Actually in Generals it is found right below [Team] Set to stop.
g-ster
  • g-ster
  • 59.75% (Neutral)
  • Private Topic Starter
17 years ago
oh...
srry didn't see