Staredit Network

Staredit Network -> UMS Assistance -> Creating units IN a dropship
Report, edit, etc...Posted by empty on 2006-06-19 at 02:48:52
Making a map for the SEN map making contest, having trouble, bla bla bla.

Basically, all I need to know is how I make a unit INSIDE a dropship, because I'm doing the dropship spell system.
Thanks.
Report, edit, etc...Posted by MindArchon on 2006-06-19 at 02:52:51
QUOTE(empty @ Jun 18 2006, 11:48 PM)
Making a map for the SEN map making contest, having trouble, bla bla bla.

Basically, all I need to know is how I make a unit INSIDE a dropship, because I'm doing the dropship spell system.
Thanks.
[right][snapback]509361[/snapback][/right]


AFAIK, you cannot create a unit inside the dropship. You have to create it outside of it, then order it inside with an AI script.
Report, edit, etc...Posted by empty on 2006-06-19 at 03:05:14
AFAIK? Anyways, I think I know how I'm gonna do it. If there are already units inside a dropship, and you change the dropships ownership, then will the units inside the dropship be given to the player the dropship is given too? For some reason, that's feel really newb to say, and I feel like they do... but I just want to make sure.
Report, edit, etc...Posted by Red2Blue on 2006-06-19 at 08:03:28
You cannot make units inside a dropship.

Units are given along with the dropship, think dark archon mind control.

On second thought... if you do it that way... you would have to deal with the reclicking and reselection of another dropship. What's so difficult about creating units under the dropship and running an ai script "all units at location enter nearest transport" ? If you use a hyper trigger, the action of creating and entering the dropship is pretty much instant. Just make sure that the trigger for the units enter or re-enter the dropship occurs before the trigger that has a spell. This way, the unit will re-enter the dropship before the trigger executes again (im just inferring that this is your problem).
Report, edit, etc...Posted by Noober on 2006-06-19 at 09:05:44
AFAIK = As far as I know

You could also create the unit somewhere else, away from the dropship, move the dropship there and run ai script to enter transport there, and then move the dropship back.
Report, edit, etc...Posted by Shocko on 2006-06-19 at 15:31:28
as u may now know u cant create IN a dropship but id like to point out that at the top it says look in the tutorials before posting and i even checked to make sure that it was there and it is in future look / look harder
Report, edit, etc...Posted by StealSniper(MC) on 2006-06-19 at 16:29:54
Couldnt you just...do the barracks system or starport system wouldnt that be easier? and much quicker?
Report, edit, etc...Posted by empty on 2006-06-20 at 01:50:33
Sorry for not looking hard enough in the Tutorial Database. Won't happen again.


Well, now that that's cleared up, the way I'm doing it is different than all yours.

Basically there is a 2x2 space where the dropship will go over. Over the 2x2 space, is yes you guessed it, a 2x2 location! I'm just doing it to where when the unit is created, remove the unit and then do the action wheverever it's happening. Now instead of using switches and waits to load the dropship I'm doing a seperate trigger that will be like this: (I'll use that the zergling makes your hero go super fast as an example) P1=Human P8=Computer
QUOTE
Bring(p1, AtLeast, 1, zergling, p1dropshiplocation);
GiveUnits(All, dropship, p1, p1dropshiplocation, p8);
CreateUnit(1, zergling, p1dropshiplocation, p8);
RunAIScriptAt(Enter Transport, p1dropshiplocation);
GiveUnits(all, dropship, p8, p1dropshiplocation, p1);
Report, edit, etc...Posted by Noober on 2006-06-20 at 11:56:18
But that will still make the action happen...
Next Page (1)