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.
[08:43 am]
TheHappy115 -- Yea, thats the issue. Thanks. It would also explain why my deleted map couldn't get updated. Updated version reduced collision on units (only thing added) since was dodging game (players collide with each other)
[05:26 am]
Ultraviolet -- If so, I'd just focus on getting them on scmscx.com and then you can link to that in the showcase thread for your maps
[05:25 am]
Ultraviolet -- I can't upload my EUD maps, I think the DLDB has some issue with handling them. Are you trying to upload EUD maps?
[02:06 am]
TheHappy115 -- Its been awhile but ever since I requested one of the Maps I posted to be deleted since I couldn't delete it myself (or update it), I haven't been able to upload any more maps. Any reason for that?
[2024-5-26. : 7:14 pm]
Kyradax -- Hi
[2024-5-26. : 5:05 pm]
O)FaRTy1billion[MM] -- :wob:
[2024-5-25. : 9:22 am]
Zycorax -- :wob:
[2024-5-23. : 3:50 pm]
Ultraviolet -- :wob:
[2024-5-23. : 6:26 am]
UndeadStar -- :wob:
[2024-5-22. : 6:10 am]
Riney -- Somethings never change.
Please log in to shout.


Members Online: Ultraviolet