Posted by: g-ster - Saturday, October 25, 2008 10:28:28 AM
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
Posted by: Drummin - Saturday, October 25, 2008 11:26:36 AM
There could be a number of reasons this isn't working so I will just show the ways to make civilians walk the path.
[b]*First you need to lay down your pathway:[/b]
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.
[b]*Name your pathway:[/b]
It's important that you name the path using the "Waypoint Path Label:" textbox. See image below.
[b]*Place and name your units:[/b]
Place your units on the map and either name each unit or use the team name explained in the next step.
[b]*Using a team instead of named units:[/b]
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".
[b]*Scripting for named units:[/b]
In the plyrcivilian folder you would create a script like this.
[code]*** 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'
[/code]
[b]*Scripting for a team:[/b]
[code]*** IF ***
True.
*** THEN ***
Have Team 'teamWalkers' wander along Waypoint Path 'CivilianPath1'
[/code]
[b]*Consideration:[/b]
If you were planning on having a number of different pathways I would use the "Named Unit" method.
[ATTACH]100[/Attach]
Posted by: Me Myself and Pi - Saturday, October 25, 2008 11:44:38 AM
Well if you'd want them to just walk around randomly, use this script:
[code]*** IF ***
True.
*** THEN ***
Have Team 'teamPlyrCivilian' wander around it's current location.[/code]
Zero Hour: [b]Team\Move\Set to wander around current location.[/b]
Generals: [b][Team] Set to wander around current location.[/b]
Posted by: Drummin - Saturday, October 25, 2008 11:48:59 AM
Again, very good Pi.
Posted by: g-ster - Sunday, October 26, 2008 3:59:08 AM
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)
Posted by: Drummin - Sunday, October 26, 2008 8:53:22 AM
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.
Posted by: g-ster - Monday, October 27, 2008 7:49:39 AM
[quote=Me Myself and Pi]Well if you'd want them to just walk around randomly, use this script:
[code]*** IF ***
True.
*** THEN ***
Have Team 'teamPlyrCivilian' wander around it's current location.[/code]
Zero Hour: [b]Team\Move\Set to wander around current location.[/b]
Generals: [b][Team] Set to wander around current location.[/b][/quote]
I have generals and i thought that that script don't exists in generals
Posted by: Drummin - Monday, October 27, 2008 9:03:40 AM
Actually in Generals it is found right below [Team] Set to stop.
Posted by: g-ster - Monday, October 27, 2008 10:54:21 AM