Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: AI Scripts Problem
AI Scripts Problem
Feb 18 2008, 7:23 am
By: Master_Sergeant  

Feb 18 2008, 7:23 am Master_Sergeant Post #1



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.

Feb 18 2008, 9:49 am NudeRaider Post #2

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..."




Feb 18 2008, 10:36 am Master_Sergeant Post #3



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... :dontgetit: ???



None.

Feb 18 2008, 2:45 pm Falkoner Post #4



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.

Feb 19 2008, 9:20 am Master_Sergeant Post #5



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.

Feb 19 2008, 9:55 am NudeRaider Post #6

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.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:05 am]
Moose -- ya
[05:23 am]
zsnakezz -- yes
[2024-5-12. : 8:51 pm]
l)ark_ssj9kevin -- Are you excited for Homeworld 3?
[2024-5-12. : 8:44 pm]
l)ark_ssj9kevin -- Hi Brusilov
[2024-5-12. : 4:35 pm]
O)FaRTy1billion[MM] -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
my server that was hosting it died
[2024-5-10. : 8:46 pm]
NudeRaider -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
https://armoha.github.io/eud-book/
[2024-5-10. : 8:36 am]
Brusilov -- Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
[2024-5-09. : 11:31 pm]
Vrael -- :wob:
[2024-5-09. : 8:42 pm]
Ultraviolet -- :wob:
[2024-5-08. : 10:09 pm]
Ultraviolet -- let's fucking go on a madmen rage bruh
Please log in to shout.


Members Online: Roy