Peameal
  • Peameal
  • 52.25% (Neutral)
  • Private Topic Starter
14 years ago
Hey all,

I've only been working with World Builder for a few months. Here's my beef; if I set up a map against an AI opponent, not all units will attack. The inactive units are:

Scud Launchers
Combat Cycles
Terrorists
Inferno Cannons
Nuke Launchers
Tank Hunters
Tomahawk Tanks
Microwave Tanks
Missile Defenders
Hero Units

Any suggestions?
Sponsor
NewNightmare
14 years ago
what do you mean by inactive ?
and how do you set up the map?
is it every map that you make that has this issue?
do those units behave normally in camapign or other official skirmish maps?
Details don't hurt... it's like going 'my car's not working. what's broken?'
Peameal
  • Peameal
  • 52.25% (Neutral)
  • Private Topic Starter
14 years ago
By inactive, I mean if one of these units were spawned into the middle of your base, they would do nothing.

They work fine in official maps and campaigns. Player-generated multiplayer or single-player maps are not a problem, either. When I create a single-player map with a computer AI enemy, these units will not work.

If I set you up against an enemy GLA AI and placed technicals and SCUD launchers in its base, the technicals would attack you if you came in range. The SCUD launchers would do nothing.

If I spawned a team of scorpion tanks and combat cycles and sent them on a waypoint path to your base, only the scorpions would attack when they arrived.

I have set up my current map to spawn reinforcement teams depending on the actions of the player. They work fine only because I have avoided using inactive units.
NewNightmare
14 years ago
a)
Change the defualt mood to aggressive in team's option (in Edit Teams>Double click on team>Behavior Tab>Initial Team Behavior)

b)
Make a script
***IF***
Team 'A' has reached the end of waypoint path
***Then***
Team 'A' hunts (or Guards, whichever you think will work better)
and on top of that use a subroutine script (tick Script is Subroutine in Script properties tab)
***IF***
True
***THEN***
<This team> follows waypointpath 'A Path'
And add it to team's behavior in 'On Create' section
(Edit Teams>Double click on team>Behavior Tab>On Create dropdown)

test either, post whether it worked ;)
i^love^mixery
14 years ago
hey i built a test map for you.

just put it into your map folder and play it or load it into worldbuilder and you will see.

my solution:
spawn a named scud launcher and then set it to hunt.

or use teams instead and do what the guy above me said 😉   attack test.zip (3kb) downloaded 2 time(s).
Peameal
  • Peameal
  • 52.25% (Neutral)
  • Private Topic Starter
14 years ago
I did the scripting you suggested, Newnightmare. It fixed the issue! Thank you very much for the test map, Mixery; it helped illustrate the solution.

So, yeah. Thank you both very much for your time and suggestions. I appreciate it.
NewNightmare
14 years ago