I've got a problem with the AI Scripts trigger. When I set bunker AI and AI Expansion Terran Campaign the marines and firebats I set did not get in the bunkers. Anone can tell me why ? I tried with other AI but it still happened. Could you attach a sample map ? Thanks.
None.
We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch
There's an extra AI to do the trick. It's called "Enter Closest Bunker at..."
I've already set the bunkers' locations and AI Enter Closed Bunker for each bunkers' locations! But everytime when I set another AIs like above the infantry not get in the bunker anymore....When I don't set another AI, they still get in the bunker...
???
None.
Run the bunker AI, and wait a bit before running the second AI, so the units get inside the bunkers, I think running a second AI overrides the first.
None.
I tried these:
-AI Enter Closest Bunker
-Wait for 2000 miliseconds
-AI Expansion Terran Campaign Medium
and
-AI Expansion Terran Campaign Medium
-Wait for 2000 miliseconds
-AI Enter Closest Bunker
and also
-AI Enter Closest Bunker (with switch 1 is set)
-AI Expansion Terran Campaign Medium (switch 1 is set/cleared)
or
-AI Enter Closest Bunker (with action switch 1 is set)
-AI Expansion Terran Campaign Medium (conditions: switch 1 is set, actions: this AI)
And what ? Still happened
Post has been edited 1 time(s), last time on Feb 19 2008, 9:27 am by Master_Sergeant.
None.
We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch
Still happened what? I thought the entering did NOT happen...?!
However... you probably have made some mistake. Starcraft cannot look into the future, so it cannot react on future events (an ai which will be executed later).
Have you checked that both ai's run for the correct comp player?
For testing, delete all ai triggers and make 2 triggers like this:
Comp Player
Condition:Elapsed scenario time is 1s
Actions:Execute Enter bunker ai
Comp Player
Condition:Elapsed scenario time is 10s
Actions:Execute Melee ai
Even if you cannot use the conditions in the actual map, make a test with these and see that it DOES work.
Then try combining the triggers with a wait(9000) between the ai actions.
In the last step reduce the wait to a value that still works.
Finally set the conditions to what you will need.