Staredit Network

Staredit Network -> UMS Assistance -> Shuttle Drop off
Report, edit, etc...Posted by Oo.Mario.oO on 2004-12-31 at 19:33:40
ok how do u do the shuttle thing where u drop the unit on the ground and it creates it back in the shuttle and it creates the units w/e u wanted it to go like off of worm's like how it just makes the units hit the ground and it makes the missle thing that travels to kill the oppent in all so if some one could realy help me i would realy apprichy at it alot and thanks
Report, edit, etc...Posted by chuiu on 2004-12-31 at 20:15:35
First of all, use punctuation. I don't know where your sentences end and where they begin!

Now I think what you're trying to ask is how to make units go into the shuttle like in Worms so that people can use them as missiles, etc. All you need is a trigger that creates the unit and tells it to enter the transport unit with an AI trigger. It should look something like this:

Conditions:
--You need to set these--

Actions:
Create # Unit at Location for Player.
Where location is at the transport and Player is the person who owns the transport.
Run AI script 'Enter Transport' at Location.
Where location is the same location at the transport.

And then the missile trigger is easy as well. You should probably use a switch to prevent the units from triggering the missile trigger though. Have the switch off when you're loading the units and then set it on when they are in. That way when they come out of the transport they can trigger the missile event. And the missile event should look something like this:

Conditions:
Player brings at least 1 Unit to Location.
The unit being dropped from the transport to trigger the missile.
--Any other conditions you need--

Actions:
Remove 1 Unit at Location. (The unit dropped)
Create 1 Unit at Location. (The missile)
Issue order to all units owned by Player at Location move to Location.

That will create the missile, of course, and the location you are sending it to is preferably it's destination. If it is like a homing missile you probably want another trigger that will always move it to that location so that it stays on course in case the target moves. And then another trigger that will make the missle explode and deal damage or do whatever it is you want it to do to the target.

Hope this helped.
Report, edit, etc...Posted by Urmom(U) on 2004-12-31 at 20:43:39
Tutorial
here is the official tutorial for spell casting with shuttles and dropships for our advanced map maker.

that covers the dropship part but for the missle thing use chu's way to do it
Next Page (1)