• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

[Trigger] Flying Height ._. Reward: Pie

Status
Not open for further replies.
Level 28
Joined
Mar 25, 2008
Messages
2,955
Hi there,
so I got this problem concerning the flying height
I have the following:
  • Set dummy_pt = (Position of (Triggering unit))
  • Set tar_pt = (Position of (Target unit of ability being cast))
  • Set dist = (Distance between dummy_pt and tar_pt)
  • Unit - Create 1 dummy1 for (Owner of (Triggering unit)) at dummy_pt facing tar_pt
  • Set dummy_u = (Last created unit)
  • Animation - Change dummy_u flying height to dist at 0.00
  • Animation - Change dummy_u flying height to 0.00 at -> ????? <-
  • Unit - Order dummy_u to Bewegen nach tar_pt
I need the rate, so that the dummy reaches 0.00 exactly when it reaches 'dist'
Btw, it's speed is 522
 
Level 18
Joined
Oct 18, 2007
Messages
930
Hi there,
so I got this problem concerning the flying height
I have the following:
  • Set dummy_pt = (Position of (Triggering unit))
  • Set tar_pt = (Position of (Target unit of ability being cast))
  • Set dist = (Distance between dummy_pt and tar_pt)
  • Unit - Create 1 dummy1 for (Owner of (Triggering unit)) at dummy_pt facing tar_pt
  • Set dummy_u = (Last created unit)
  • Animation - Change dummy_u flying height to dist at 0.00
  • Animation - Change dummy_u flying height to 0.00 at -> ????? <-
  • Unit - Order dummy_u to Bewegen nach tar_pt
I need the rate, so that the dummy reaches 0.00 exactly when it reaches 'dist'
Btw, it's speed is 522

Well you cannot have two height changes after each other. :p

I WANT MY PIE! :3
 
Status
Not open for further replies.
Top