Status
Not open for further replies.

#### SlayerII

Level 9
I made a little basic jump for my new map but it just looks

• Jump
• Ereignisse
• Einheit - A unit Beginnt, eine Fähigkeit zu wirken
• Bedingungen
• (Ability being cast) Gleich Moon jump [M]
• Aktionen
• Einheit - Pause ein (Triggering unit)
• Einheit - Turn collision for (Triggering unit) Aus
• Einheit - Add Sturmkrähengestalt to (Triggering unit)
• For each (Integer debuginteger) from 1 to 100, do (Actions)
• Schleifen - Aktionen
• Set point[1] = (Position of (Triggering unit))
• Set point[2] = (point[1] offset by 6.00 towards (Facing of (Triggering unit)) degrees)
• Einheit - Move (Triggering unit) instantly to point[2]
• Einheit - Move (Triggering unit) instantly to point[2]
• Animation - Change (Triggering unit) flying height to ((Current flying height of (Triggering unit)) + 2.00) at 500.00
• Wait 0.01 seconds
• Spiel - Display to (All players) the text: (String(debuginteger))
• For each (Integer debuginteger) from 1 to 100, do (Actions)
• Schleifen - Aktionen
• Set point[1] = (Position of (Triggering unit))
• Set point[2] = (point[1] offset by 6.00 towards (Facing of (Triggering unit)) degrees)
• Einheit - Move (Triggering unit) instantly to point[2]
• Animation - Change (Triggering unit) flying height to ((Current flying height of (Triggering unit)) - 2.00) at 500.00
• Wait 0.01 seconds
• Spiel - Display to (All players) the text: (String(debuginteger))
• Einheit - Remove Sturmkrähengestalt from (Triggering unit)
• Einheit - Turn collision for (Triggering unit) Ein
• Einheit - Pause aus (Triggering unit)
instead of evry 0.01 second the unit flys towrds evry 0.2 or something.
Does someone know how i could solve this?

#### aznricepuff

Level 11
TriggerSleepAction (the wait action you're using) has a min wait time around 0.1-0.5 seconds. Use timers for short waits (and 0.01 is a little excessive, 0.03-0.04 should be fast enuf without causing lag).

#### SlayerII

Level 9
k repalced that trigger with this:

• Jump
• Ereignisse
• Einheit - A unit Beginnt, eine Fähigkeit zu wirken
• Bedingungen
• (Ability being cast) Gleich Moon jump [M]
• Aktionen
• Einheit - Pause ein (Triggering unit)
• Einheit - Turn collision for (Triggering unit) Aus
• Einheit - Add Sturmkrähengestalt to (Triggering unit)
• For each (Integer debuginteger) from 1 to 25, do (Actions)
• Schleifen - Aktionen
• Set point[1] = (Position of (Triggering unit))
• Set point[2] = (point[1] offset by 24.00 towards (Facing of (Triggering unit)) degrees)
• Einheit - Move (Triggering unit) instantly to point[2]
• Animation - Change (Triggering unit) flying height to ((Current flying height of (Triggering unit)) + 8.00) at 500.00
• Wait 0.03 seconds
• Spiel - Display to (All players) the text: (String(debuginteger))
• For each (Integer debuginteger) from 1 to 25, do (Actions)
• Schleifen - Aktionen
• Set point[1] = (Position of (Triggering unit))
• Set point[2] = (point[1] offset by 24.00 towards (Facing of (Triggering unit)) degrees)
• Einheit - Move (Triggering unit) instantly to point[2]
• Animation - Change (Triggering unit) flying height to ((Current flying height of (Triggering unit)) - 8.00) at 500.00
• Wait 0.03 seconds
• Spiel - Display to (All players) the text: (String(debuginteger))
• Custom script: call RemoveLocation(udg_point[1])
• Custom script: call RemoveLocation(udg_point[2])
• Einheit - Remove Sturmkrähengestalt from (Triggering unit)
• Einheit - Turn collision for (Triggering unit) Ein
• Einheit - Pause aus (Triggering unit)
But still it isnt looking like a single jump cause its really easy to see that the unit is moving step by step

maybethis si the problem:

• Einheit - Move (Triggering unit) instantly to point[2]
There could be a moving which isnt instantly but i never found one
But there have to be one cause otherwise there dont have to be the instatnly

Level 6

#### DarkAngelAzazel

Level 13
As far as I know the min wait time a "wait" can wait is 0.27 and everything below that will end in 0.27..

#### SlayerII

Level 9
Does this also count for: " every 0.01 seconds?" Then i would just would activate a trigger with that for 1 second.

#### QueloR

Level 6
Try lowering the offset?

#### SlayerII

Level 9
if i just lower the offset it will be a VERY slow jump-its already to slow and still looking back-but i have the solution i think w8 shortly if you want to see it

edit: finshed it
here is if someone wanna use it or tell me that there is a mistake:

• Ereignisse
• Einheit - A unit Beginnt, eine Fähigkeit zu wirken
• Bedingungen
• (Ability being cast) Gleich Moon jump [M]
• Aktionen
• Einheit - Pause ein (Triggering unit)
• Animation - Play (Triggering unit)'s walk animation
• Einheit - Turn collision for (Triggering unit) Aus
• Einheit - Add Sturmkrähengestalt to (Triggering unit)
• Set real = 3.00
• Set jumpingunit = (Triggering unit)
• Auslöser - Turn on jump upwarts <gen>
• Wait 0.50 game-time seconds
• Set real = -3.00
• Wait 0.50 game-time seconds
• Auslöser - Turn off jump upwarts <gen>
• Einheit - Remove Sturmkrähengestalt from (Triggering unit)
• Einheit - Turn collision for (Triggering unit) Ein
• Animation - Reset (Triggering unit)'s animation
• Einheit - Pause aus (Triggering unit)
• Animation - Change jumpingunit flying height to 0.00 at 500.00
• jump upwarts
• Ereignisse
• Zeit - Every 0.01 seconds of game time
• Bedingungen
• Aktionen
• Set point[1] = (Position of jumpingunit)
• Set point[2] = (point[1] offset by 8.00 towards (Facing of jumpingunit) degrees)
• Einheit - Move jumpingunit instantly to point[2]
• Animation - Change jumpingunit flying height to ((Current flying height of jumpingunit) + real) at 500.00
• Custom script: call RemoveLocation(udg_point[1])
• Custom script: call RemoveLocation(udg_point[2])
Note: this is not MUI cause i didn't need it MUI

BTW:
someone know how to change the language of the editor? curently my is a mix of german and english which is very confusing sometimes espacialy when there is a lits with german names which are sorted with there english names. That only

Last edited:

#### graystuff111

Level 15
ITs the loop and the wait that are the problem, have the cast trigger turn on another trigger that is activated by a periotic timer like aznricepuff said. what your doing is dumb and wont work, you cant usually make a decent spell in GUI without using multiple triggers, for a single trigger you need Jass most of the time.

#### darknezz003

Level 4
I need JUMP in GUI...From Cliff to the ground...

#### Guishiu

Level 8
I need JUMP in GUI...From Cliff to the ground...

Go to spells and type in "Jump" paladon and redscore have both made MUI jump spell. Paladon's is GUI dont know about redscore's if anyone wants to take a look at it.

#### wolfman

Level 11
when the unit starts casting the ability add it to a unit group and then make another trigger that goes every .03 seconds and in that one pick all the units a=in the group and do ur actions

Status
Not open for further replies.

Replies
2
Views
557
Replies
5
Views
720
Replies
3
Views
644
Replies
13
Views
943
[Trigger] Need help
Replies
4
Views
695