HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Need help with a couple triggers....

09-27-2003, 12:16 AM#1
Dark_Baron_Prot
If anyone could give me any info on a couple trigger I'm needing to make would be great..

1'st I need a trigger for event, a unit enters a region. action triggering unit "Jumps" to another region.. now I actually need it to Jump, example think of a car going off a ramp, it gets to the end of the ramp, and jumps off,, I need the unit to go up in the air, and land in another region, anybody know how to make something like that?, oh and also, while it's in the air, it has to be able to ignore ALL commands from the player, I don't want this car to jump up in the air, and start patrolling ½ way through the jump, that would look stupid.

2'nd is there a way to set up a unit, so the movement speed of the unit is increesed more and more the longer the unit is moving, if the unit stops then when he starts again, it starts off slow and gets faster again..

Any help would be great,, thanks
09-27-2003, 12:22 AM#2
saus
Are you making a Super Mario Brothas game?
09-27-2003, 12:30 AM#3
UltimateJim
Quote:

1'st I need a trigger for event, a unit enters a region. action triggering unit "Jumps" to another region.. now I actually need it to Jump, example think of a car going off a ramp, it gets to the end of the ramp, and jumps off,, I need the unit to go up in the air, and land in another region, anybody know how to make something like that?, oh and also, while it's in the air, it has to be able to ignore ALL commands from the player, I don't want this car to jump up in the air, and start patrolling ½ way through the jump, that would look stupid.



make ure jumping unit flying, or replace it with another flying unit when the unit enters
make a trigger

unit enters regoin 001

entering unit equel to (your specific unit, or unit type)

change owner of entering unit to (unused player) and DONT change color

order entering unit to move to regoing 002 (this regoin is in the middle of your beginning and end regoins)

chnage entering units movement hight to 500 over 200 (not totally sure about the second number, but i thinks its hight per second, experiment with this)

another trigger

unit enters regoin 002 (the regoin in the middle)

entering unit equel to (your specific unit, or unit type)

order entering unit to move to regoin 003 (your ending regoin)

change units flying hight to 1 over 200

another

unit enters regoin 003 (ending regoin)

entering unit equel to (your specific unit, or unit type)

change ownership of entering unit to (whatever player it was currently being controlled by) and change color


Quote:
2'nd is there a way to set up a unit, so the movement speed of the unit is increesed more and more the longer the unit is moving, if the unit stops then when he starts again, it starts off slow and gets faster again..

Any help would be great,, thanks

the maximun unit movement speed is 400, dl the umswe editor to make it bigger, then maybe make a trigger that

game elapsed time is #

change (units) movement speed too ###

then a unit is issued an order

issued order equel to stop
triggering unit equel to (your unit)

set movement speed of unit to ###
09-27-2003, 12:30 AM#4
evil1
ok for the jump thing

either make it a flying unit or make it a land unit and when u want it to jump u have to replace it with a flying unit, then chnage its flying height to how high u want it to jump, then change flying height back to 1 or 0 or whaever and then change it back to a land unit
09-27-2003, 12:33 AM#5
evil1
oops someone relied first

stupid fast typer

lol whatever:D
09-27-2003, 01:06 AM#6
Dark_Baron_Prot
Hey guys,, thanks for the responces,, for the jump, I just made the movement type of the unit flying, and set the height to 0, that way I didn't have to change the unit at all, and I increesed the movement height as you suggested,, works great, thanks..

also, about the movement speed.. that doesn't work so great,, I need it something like every .50 seconds of game time that the unit is moving, set unit movement speed = unit movement speed + 10

I don't really know how to get the "that the unit is moving" part of the trigger.

saus, no it's not a Super Mario Brothers game.
Need help with a couple triggers.... - Wc3C.net