Need some Help with Ai Script Bunker in SC-BW


Topic author
TangentN
Terran Settler (Unemployed)
Terran Settler (Unemployed)
Posts: 2
Joined: Sat Sep 12, 2015 7:48 am
Status: Offline

Need some Help with Ai Script Bunker in SC-BW

Postby TangentN » Tue Sep 15, 2015 1:40 pm

Hi!

I dusted off my good ol' Starcraft Broodwar a short while ago and have started to work on an RPG lvl in the Campaign Editor.
I'm trying to create a trigger for some Computer player to make the marines leave the bunkers once some conditions are met.

In the "Run AI Script at location" I'm able to find "Enter closest bunker", but no "Exit Bunker". Weird considering there is Exit/Enter transport ai scripts.

No problem getting them to enter. But leaving is harder... I tried different combos of triggers. For example "Issue order to all (marines) owned by (player pc) at (Location Exit/Enter bunker) move to (Evac Area Location)", that one didn't work.

Is there something I can do to make units exit a bunker once they've entered it in the Campaign Editor or is there some other way to do this?
I've already poked around Scmdraft but could'nt come up with anything to solve this problem.

Any tips, recommendations for writing a trigger that makes this possible or are there Mod Tools that can solve this?

I'm grateful for any help I can get.

User avatar

IskatuMesk
Xel'naga World Shaper
Xel'naga World Shaper
Posts: 8779
Joined: Sat Feb 07, 2009 1:40 pm
Location: M͈̙̞͍͞ͅE̹H̨͇̰͈͕͇̫Ì̩̳CO̼̩̤͖͘
Contact:
Status: Offline

Re: Need some Help with Ai Script Bunker in SC-BW

Postby IskatuMesk » Tue Sep 15, 2015 2:19 pm

I would reconsider removing/respawning the units complete with a sound effect, providing you can't get anything better. I don't know if this can be done in the same frame or not (or if they will mysteriously displace in weird ways). But that might be a way to work around it.
Image~[Gameproc]~Image
Warning: dialogue contains politically incorrect content. Viewer rearsore may occur.


Revolta
Terran Nuclear Silo Safety Inspector
Terran Nuclear Silo Safety Inspector
Posts: 225
Joined: Thu Apr 23, 2015 6:02 am
Status: Offline

Re: Need some Help with Ai Script Bunker in SC-BW

Postby Revolta » Tue Sep 15, 2015 7:33 pm

Just use 'Exit Transport' AI script...


Topic author
TangentN
Terran Settler (Unemployed)
Terran Settler (Unemployed)
Posts: 2
Joined: Sat Sep 12, 2015 7:48 am
Status: Offline

Re: Need some Help with Ai Script Bunker in SC-BW

Postby TangentN » Wed Sep 16, 2015 10:31 am

Awesome!
It's working!!

Thank you Revolta!!

Yeah, good idea IskatueMesk, I was considering it as a last resort trigger, luckily "Exit Transport" seems to work for bunkers as well! :)

Thanks again for your help guys!


Return to “StarCraft Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest