Posted by: AdrianeMapMaker - Sunday, December 18, 2016 3:53:14 AM
Hi Guys Just Let me Say The Question I Making a Team and Im About thinkin is it possible that your makin a Pathway and Making it Split into two and with the same end like this : [img]https://s6.postimg.org/kv5yego29/pathways.png[/img] is it possible for the ai to Follow this???

Posted by: Annihilationzh - Sunday, December 18, 2016 8:32:04 AM
You spent a while creating a picture when you could have spent that time answering your own question by testing it. You confuse me.

Posted by: klingondragon - Sunday, December 18, 2016 10:02:16 AM
Yes, it does work. Or at least it seemed to work on my 'multiplayer 1v1' map.

Posted by: zero hour mad map maker - Sunday, December 18, 2016 11:34:08 AM
Yep, you can totally do that Adriane! I do it all the time in skirmish or mission maps. The Ai will follow the path up to the point it splits, and then randomly selects one to travel along until it merges back together again, if that makes sense.

Posted by: acidbrain - Sunday, December 18, 2016 12:10:51 PM
Well, in my experience the team doesnt travel as a whole team sometimes, the team splits up when it randomly chooses a path... To have some more control you can make some generic scripts so you are certain that the team will follow the path as a whole... [img=https://s29.postimg.org/u0rtxnatj/Paths.png]Paths[/img] Here is an example of the scripting [code] [S A nd][E N H]OnCreate *** IF *** True. *** THEN *** Have Team '' follow Waypoint Path 'StartPath' , as a team is TRUE [S A nd][E N H]StartPath_End *** IF *** Team '' has reached the end of Waypoint Path 'StartPath' *** THEN *** Run Subroutine 'Coinflip'. [S A nd][E N H]Coinflip *** IF *** True. *** THEN *** Set timer 'RandomPath' to expire between 0 and 20 frames. Set timer 'FirstPath' to expire in 10 frames. Enable Script 'FirstPath_Expired'. [ns na D][E N H]FirstPath_Expired *** IF *** Timer 'FirstPath' has expired. *** THEN *** Run Subroutine 'First || Second'. [S A nd][E N H]First || Second *** IF *** Timer 'RandomPath' has expired. *** THEN *** Have Team '' follow Waypoint Path 'FirstPath' , as a team is TRUE *** ELSE *** Have Team '' follow Waypoint Path 'SecondPath' , as a team is TRUE [S A nd][E N H]Hunt *** IF *** Team '' has reached the end of Waypoint Path 'FirstPath' *** OR *** Team '' has reached the end of Waypoint Path 'SecondPath' *** THEN *** Team '' begins hunting. [/code] StartPath_End, First || Second and Hunt are Generic scripts. The coinflip script isnt really needed, added it to make it more clear, you can execute the parameters in the StartPath_End script instead of making a seperate script. Be sure that you make 2 seperate paths of Firstpath and Secondpath so dont connect the last to waypoints but put the last waypoints on top of eachother. [img=https://s28.postimg.org/bncemdw0d/Stuff.png]Paths[/img] I have used this method many times and it works like a charm. If you want to know a bit more about scripting random teams and paths check out [url=http://www.cnclabs.com/forums/cnc_postsm137350findlastpost_Question-About.aspx#post137350][color=blue]This[/color][/url] thread... Cheers

Posted by: AdrianeMapMaker - Monday, December 19, 2016 12:25:42 AM
thanks guys[grin] By The Way Merry Christmas!!![joy]

Posted by: zero hour mad map maker - Monday, December 19, 2016 7:29:45 AM
Merry Christmas to you too! :D

Posted by: acidbrain - Monday, December 19, 2016 7:33:54 AM
Ho Ho HO, Merry ChristMass to everyone so that includes you also Klingon...[stuck_out_tongue]

Posted by: klingondragon - Monday, December 19, 2016 7:48:43 AM
What if I'm Jewish?

Posted by: acidbrain - Monday, December 19, 2016 11:08:48 AM
[quote=klingondragon;142360]What if I'm Jewish?[/quote] I was just f'ing around, why do i get the feeling that you are not jewish...

Posted by: klingondragon - Monday, December 19, 2016 11:10:37 AM
That's not my point.