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.
[11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[03:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[03:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[03:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[03:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
[2026-7-23. : 1:40 am]
Oh_Man -- tthen u come to SCBW and it's like - upload WAV, play WAV.... sigh why cant it be that easy
[2026-7-23. : 1:40 am]
Oh_Man -- and no consistent easy to use way to then play the audio either
Please log in to shout.


Members Online: Heinermann