Staredit Network

Staredit Network -> UMS Assistance -> Enter And Exit Car
Report, edit, etc...Posted by r[s]t on 2004-08-23 at 19:19:53
HOw do i make a trigger to enter and exit a car?
Report, edit, etc...Posted by phatdiddy on 2004-08-23 at 20:18:28
Just put a location around the car and when your unit goes into it it removes your unit and gives you the car. THen an easy way to exit would just be to have that location center on the car constantly and then you could move a civ onto a beacon which would give the car back to its original owner and just create the unit you had before.

I hope you understand it without triggers. If you want triggers though i will post some.
Report, edit, etc...Posted by Revelade on 2004-08-23 at 20:52:46
Phat's method is good when you only have ONE of that car, more than 1 can cause problems...

You can do it another way:

Player X = the player that owns the car unit

Current player = the player that will get inside the car

Make a location around the player's unit

Conditions: Current player commands player's unit

Actions: Move location "X" on player's unit at anywhere

Preserve Trigger

Next trigger is the part where he actually gets inside the car

Conditions: Player X brings car unit to location X

Actions: Remove player's unit for current player

Give all car unit at location X owned by Player X at Location X to current player

Preserve Trigger

Hope this helps.
Report, edit, etc...Posted by r[s]t on 2004-08-23 at 22:07:13
i managed to come up with somethign from that
Report, edit, etc...Posted by LegacyWeapon on 2004-08-23 at 22:20:45
if you have multiple units, you should actually move the unit to somewhere where they are "in the car"
then move them back when they get out by going to a beacon
Report, edit, etc...Posted by CheeZe on 2004-08-23 at 22:23:48
the easist car to use is seige tank because it can seige to exit

have a location center the unit you want to enter

when a tank(car) goes to the location, give the tank to the player, move the unit (or remove) and center the same location on that unit again. if that player seiges, then have a wait trigger so the player can get out of the unit (order it to move somewhere so it will always get out works too), remove the unit move the original unit back and have the tank created again. i created a tutorial for this but it got lost, perhaps someone has it happy.gif
Report, edit, etc...Posted by Nozomu on 2004-08-24 at 00:19:36
Way ahead of you.
Report, edit, etc...Posted by MindArchon on 2004-08-24 at 13:25:41
Centering a location around the guy that enters in the car will work for entering and exiting.

Then if its a tank (siege it), center a location around it and move your guy back there
Next Page (1)