Staredit Network

Staredit Network -> UMS Assistance -> Help with "Enter Transport" AI script
Report, edit, etc...Posted by Lionel_Hutz-Attorney_at_law on 2005-09-18 at 13:00:24
I'm just new here, and to tell the truth I joined up to ask for help on this topic, so you can tell it's causing me some grief. smile.gif

Just so you know, I'm using the original Staredit program (that came with the double pack) and I'm trying to make a short UMS campaign.

My problem is that everytime I try to use the "Enter Transport" script on an AI team set to "computer" on thr settings, the units get in but then get out again.

If I change to AI team to neutral they obey the instructions perfectly.
Has anyone ever had trouble with this.

If it would help I could post my Staredit map in which I'm having the trouble so you can have a look at the triggers (it's a work in progress BTW)
If so can you tell me how do post my map on this site?

Thanks in advance.
Report, edit, etc...Posted by Oo.Turin.oO on 2005-09-18 at 13:22:00
well i can't tell you how to fix it cuz i've never done it before but i do know why they get out. they get out because they don't want to be in a transport and when they are set as enemies they get out to fight. when they are nuetral then they don't have anybody to fight so they stay where they are put.
Report, edit, etc...Posted by Toothfariy on 2005-09-18 at 14:40:33
umm idk why thats not working. i think the comp wants to attack so it unloads. i think you should have that comp ally with everyone. otherwise idk maby send me the map.
Report, edit, etc...Posted by Lionel_Hutz-Attorney_at_law on 2005-09-18 at 14:52:38
That's a great idea! You see the idea of the map is that a bunch of Terrans request some Protoss help (the player's team, lead by Tassadar.. I know it's not canon) agianst a small party of Zerg. The player fights the battle as Toss and Terran (like Toss 10 in SC) but once the Zerg are beaten White Terran turns up to arrest Tassadar (a trap).

I could have white units just appear at the destinations for the fleet of Transports, but I wanted to see if I could put them in.

Your idea is great, I can just add a switch after they unload to change alliance status.
Thanks.
Report, edit, etc...Posted by Toothfariy on 2005-09-18 at 15:02:13
lol... no problem
Report, edit, etc...Posted by Kumano on 2005-09-18 at 15:12:35
Another way if that doesn't work is you could use the sound of guys unloading and just create units under the dropships the way they do it for some missions in terran campaign in broodwar.
Report, edit, etc...Posted by Toothfariy on 2005-09-18 at 15:15:08
that could be buggy. the time for the sound could un-line inself in the sucession of triggers.
Report, edit, etc...Posted by SacredElf on 2005-09-18 at 15:32:18
it cant be buggy if the sound plays when there are no ground units and then the dropship moves it will look almost real
Report, edit, etc...Posted by Kumano on 2005-09-18 at 15:35:53
It can be done right, just look at the campaign missions 2 and 6 in broodwar, if you get the wait actions (or death counts since other waits could make that buggy) at the right time then it'll seem just like they're unloading things
Report, edit, etc...Posted by Lionel_Hutz-Attorney_at_law on 2005-09-18 at 18:47:53
Well it worked out fine. Since it's my first campaign I'll just leave out the unload sounds for now.
However I've got another little problem in the same area.
Why is it that, after you have excecuted an "unload transport" trigger the units that got out wont respond to orders.
For example

1st trigger

Switch 1 is set

Order all Dropships at owned by player 2 at location 1 to move to location 2


2nd trigger

Player 2 brings at least 1 dropship to location 2

Run AI script unload transports at location 2


After this the four marines exit the ship

3rd trigger

Player 2 brings 4 marines to location 2

Order all marines belonging to player 2 at location 2 to move to location 3

But this last action does not excecute for some reason, the marines just sit there, any ideas why?

(NB this is with the computer team at "Neutral")


Report, edit, etc...Posted by Toothfariy on 2005-09-18 at 18:48:10
still could be buggy...
Report, edit, etc...Posted by Lionel_Hutz-Attorney_at_law on 2005-09-18 at 19:46:35
Then what do you reckon I can do about it?
Next Page (1)