Ramp System
I would like to request a Gui system for my map, Vehicle Arena. It only have to work for 1 unit at the time, for each player (player 1 and player 2 can have a unit using the system at a time, But player 1 cant have 2 units using the system at once) if that makes it easyer.
The system should have an Init trigger, and an "action" trigger.
What the system does:
The system should simply make the unit Jump, but in a special way. It should make the unit move upwards (Flying hieght) and down again, at a certain speed. It should work over multiple cliff levels, so if i am at cliff level 2, and flying over an area with cliff level 1, i should get a bonus in flying hieght, so it looks smooth. Heres an example:
View attachment 45111
One trigger should allow me to set:
Direction (Like facing of unit)
Hiegth (How high in flying hight, a unit will go before gaining speed downwards (like it will increase flying hieght by 400, if Hieght is 400, when 400 bonus is reached (bonus from cliff levels not included), the unit will fly downwards)
Speed (How fast the unit will get flying hieght, a speed of 3, will give 3 increased flying hieght every tick)
Player (Wich player the system should take as the owner, or who controls the unit)
An hieght increase/decrease should happen every 0.05 seconds, and if possible, be changeable (if i find that 0.03 sec fits better, i could use that instead).
An boolean variable checking if a "player" is in the air would be nice
Gui if possible, i've never get vJass to work...
A trigger couild look like this:
-
Events:
-

Unit - Unit enters (My_Region_Ramp)
-
Conditions:
-

Boolean - (Entering Unit) is a (Hero) (Equal to) (True)
-
Action:
-

Set (Direction) to (Facing of (Triggering Unit))
-

Set (Hieght) to (400)
-

Set (Speed) to (3)
-

Set (Player) to (Owner of (Triggering Unit))
A small note: if the "Jump" could look like a curve it would be nice
Another small note: Movement in the test map should work like a slide, maening every 0.03-0.05, all units should be moved towards their facing. That way, the length of the jump will be controlled by how fast the jumper is sliding (a guy moving with 3 points offset every 0.03 sec will jump longer than a guy with only 1 point offset).
The system should work for ground units, giving them crow form when the "jump" starts, and remove it when they land, and classify them as ground units when they hit ground.
Hope you get it, and hope you will make it