Posted by: Zero Hour Mad - Friday, January 20, 2012 10:08:40 AM
I have create the First Waves of Enemys(10 Quadcannons and 10 Armys of GLA) coming to me
Now I want to do 2ND Waves of Enemys coming to me, I want to make Bomb Truck for 2ND Waves of Enemys but nothing happen...
What I am doing wrong?
IF You want me show some Pictures of it(C & C World Builder) Scripts then please let me know
Posted by: NewNightmare - Friday, January 20, 2012 10:39:19 AM
I understand your aim is to create 2 waves of enemies coming at your base/location.
you can use team tool (on the right hand side) and create two teams.
Then, you can create 2 scripts to spawn them in one place, and make them move and hunt at the other. You can find most of the commands you'll need under the 'Team' section of scripts, and you can find timers in the main scripts section (displayed as default)
you need the scripts like:
IF > true > set timer to XXX seconds
Then > spawn team 1 at waypoint, make team 1 follow waypointpath
and after that
IF > Team 1 dead
Then > spawn team 2 at waypoint, make team 2 follow waypointpath
Posted by: Zero Hour Mad - Friday, January 20, 2012 10:41:51 AM
I see....interesting....I will have go at that and Let you know how I get on :)
Posted by: Zero Hour Mad - Friday, January 20, 2012 11:38:42 AM
Hey newnightmare
I am struggling to make 2nd waves enemys :(
Could you do Youtube Video that I could learn from please :)
Posted by: BR-Alexandre - Friday, January 20, 2012 2:28:41 PM
You're having trouble spawning the team or making it attack?
Posted by: RicardoClark - Friday, January 20, 2012 8:08:18 PM
I think he might have a trouble in spawning the team.
Posted by: BR-Alexandre - Sunday, January 22, 2012 1:48:30 AM
too long since i don't spawn something in WB with scripting, but i'm good at scripting the team's behavior. First of all, make 2 teams of enemies, the 1st (team one) and 2nd (team two) waves.
-Spawning team: use script to spawn the team at a waypoint
IF
True (or other condition)
Then
Spawn an instace of Team Example at waypoint Example.
(Effect found at Team->Create)
-Scripting team to attack: Set some waypoints from the spawn point to where the AI team have to attack and create a [S A d] script that says team to follow that waypath and put it on team's behavior tab for both teams (if both have to follow same attack path)
Posted by: BR-Alexandre - Sunday, January 22, 2012 7:57:01 AM
here's an example of how to do it. check teams and scripts, the teams spawn correctly at the south of the civilian factories
GLA team acts as the 1st wave, china team act as the 2nd wave. they also respawn [ATTACH]1013[/Attach]