Unit Height Changing

Craigimus

New Member
I have a unit thats height is 300 and i want it to change to 0 or even -50 is there a trigger that if the unit used an ability i can make taht unit go from 300 down to 0 over time ? like make it go down slow.

(Mario entering a pipe) and (the same trigger but doing the opposite) (Mario exiting a pipe)

Thanks in advance.
 

cleeezzz

The Undead Ranger.
give the unit the storm crow ability and change the flying height with

Animation - Change (Triggering unit) flying height to 10.00 at 1.00
 

Craigimus

New Member
okies

Event
Unit - Casts ability
Condition
Ability being cast equal to storm crow
Action
Move Casting unit to pipe
Animation - Change etc etc
Play sound - Warp pipe
Wait - 2 seconds
Move Casting unit to - specific place

not all the right words but that sound about right?
 

cleeezzz

The Undead Ranger.
um not really. when you first start the map, add storm crow form ability to mario and then remove it (the flying effect will still be there)

then whenever you want it to go down or up, use the change unit height
 

Craigimus

New Member
i dont understand xD

map starts
add storm crow to mario
then remove storm crow from mario ? one after another ? doesnt that defeat the purpose?

or add the ability to be used then remove it so mario stays in crow form the whole time but changing the unit turned into the same unit as before?
 

cleeezzz

The Undead Ranger.
no it doesn't defeat the purpose, the reason you add the ability is, it allows you to change the height with (Animation - Change unit height), even though you remove it right after, the effect is permanent, you will still be able to change the height with the trigger.

call it a "bug", if you will
 

Craigimus

New Member
Cant seem to get the unit to move up or down in height.

also are you able to play a sound just to one player ? or do does it have to play to all players?
 

vypur85

Hibernate
Example:
Code:
Event
 A unit starts the effect of an ability
Condition
 Ability being cast Equal to YourAbility <-- [I]Any ability at all[/I]
Actions
 Unit - Add Storm Crow Form to (Triggering unit)
 Unit - Remove Storm Crow Form from (Triggering unit)
 Animation - Set (Triggering unit)'s flying height to 0.00 at rate of 50.00
 

Craigimus

New Member
Player Enter Pipes
Events
Unit - A unit Begins casting an ability
Conditions
Actions
-------- Pipe 2 RED --------
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Ability being cast) Equal to Enter Pipe
(Red Pipe7 <gen> contains (Casting unit)) Equal to True
Then - Actions
Unit Group - Pick every unit in Pipe2 and do (Actions)
Loop - Actions
Unit - Add Storm Crow Form to (Triggering unit)
Unit - Remove Storm Crow Form from (Triggering unit)
Animation - Change (Triggering unit) flying height to 0.00 at 50.00
Sound - Play smb_pipe <gen>
Wait 1.00 seconds
Unit Group - Pick every unit in Pipe2 and do (Actions)
Loop - Actions
Unit - Move (Casting unit) instantly to (Position of (Picked unit))
Else - Actions



The wait 1 second isnt part of the unit group

all of it works but the changing height now.
 

Craigimus

New Member
i figured it out xD

the units minimum height was set at 100 i changed it to -1000 and now the unti can go up down and all around :D

thanks for your help though :)
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    it is all percolating man
  • The Helper The Helper:
    TheHelper.net #1!
  • Wizard Wizard:
    #1
  • The Helper The Helper:
    LOL I love this place
  • Wizard Wizard:
    ;D
  • Wizard Wizard:
    We all do.
  • O Old Mountain Shadow:
    So what is next for thehelper.net? Is there a new set goals yet?
  • The Helper The Helper:
    yes we are going to be expanding
    +1
  • The Helper The Helper:
    help more people
  • The Helper The Helper:
    thank you for asking Old Mountain Shadow hell ya@
  • The Helper The Helper:
    Look at Mountain Shadow in the chat!
  • The Helper The Helper:
    welcome to thehelper.net
  • O Old Mountain Shadow:
    thanks although I'm really kind of regretting this name lol ... is there a way to change it out or will I need to make a new account?
    +1
  • Wizard Wizard:
    One of us can change it for you, I believe. Just send me a PM on what you want.
  • Ghan Ghan:
    Some day we should get the feature where you can change your own name.
  • Wizard Wizard:
    Soon!
  • The Helper The Helper:
    did the mountain shadow get his name changed? personally I think Old Mountain Shadow is a kickass name
  • The Helper The Helper:
    but what do i know lol
  • Wizard Wizard:
    No they haven't had their name changed, it is badass xD
    +1
  • O Old Mountain Shadow:
    Thanks, lol! I haven't quite come up with a good new one yet. I was gonna default to one of my older usernames: Cha Zui = tea drunk in Chinese but then decided it too didn't quite fit right. I'm not asian lol... But I am tall, and old spirited which is sort of where the Old Mountain Shadow came about.
  • O Old Mountain Shadow:
    Either way I appreciate the willingness to help me change it! Should I discover something better I'll swap it, but for now ill stay with what I got.
  • The Helper The Helper:
    If you want a change like they said earlier just let us know
    +1
  • Ghan Ghan:
    Patched and rebooted the server this morning.
  • Ghan Ghan:
  • The Helper The Helper:
    dam pwnkit what a name probably perfectly describes it

    Members online

    No members online now.

    Affiliates

    Hive Workshop NUON Dome
    Top