Posted by: SUPER-G - Friday, November 2, 2012 10:03:31 PM
I am making an Aod map fit for 1 player.
I want to have the waves spawn off the map and follow a line into the map, and around the base,and hopefully not, reach the end.
The problem:
I cannot get the wave teams to follow the path into the map!
All help is appreciated.
Posted by: ScramblestheDeathDealer - Monday, November 5, 2012 12:32:24 AM
did you check to see if the trigger to activate the script works?
besides that, what always has worked for me is to have the script "If [Trigger event} then team x spawns at waypoint #x" then have another script "If [trigger event] Then team x fallows Waypoint path y as team is true or false"
Posted by: i^love^mixery - Tuesday, November 6, 2012 9:29:26 AM
upload the map maybe..
Posted by: SUPER-G - Wednesday, November 14, 2012 4:35:37 PM
Holy crap! sorry about the week-long reply![grin] :ashamed: [ATTACH]1198[/Attach]
Posted by: Drummin - Thursday, November 15, 2012 8:29:23 PM
Hey there, it's been years since working with ZH scripting but I always found making a subroutine script specifically for following a path and assigned as the On Create behavior of the team works. Note this script can be used by all teams.
[code=as3]Script Name: Hunt
*** IF ***
True.
*** THEN ***
Team '' begins hunting.[/code]
Use standard scripting, Setting: [ns A D] for your team spawning scripts.
[url=http://www.cnclabs.com/forums/default.aspx?g=posts&t=8866]This old link might help[/url].
Posted by: SUPER-G - Thursday, November 15, 2012 9:28:42 PM
So, would i put that script in normally, [u]and[/u] do the [ns A D] subroutine script?
Posted by: Drummin - Thursday, November 15, 2012 9:54:40 PM
Do a subroutine for the follow path script and standard scripting for your team spawning. [ATTACH]1199[/Attach]
Posted by: thebunnybruce - Tuesday, November 20, 2012 4:37:33 AM
A question about subroutines: do they need to be triggered by other script every time? Or can it be made once a subroutine start that it can keep activating itself? Thank you
Posted by: i^love^mixery - Tuesday, November 20, 2012 3:26:14 PM
[quote=thebunnybruce;126294]A question about subroutines: do they need to be triggered by other script every time? Or can it be made once a subroutine start that it can keep activating itself? Thank you [/quote]
a subroutine needs to be triggered somewhere. it will NEVER run by itself.
but you SHOULD be able to make it loop if you set it to run a subroutine script and then choose that script itself in the dropdown menu.