Abilities - Guide

J

jon513

Guest
absorb power

I have been working on the idea of a hero temporarily absorbing the powers of those around him as follows:
Events
Unit - A unit Begins channeling an ability
Conditions
((Triggering unit) belongs to an enemy of Player 1 (Red)) Equal to True
(Distance between (Position of (Triggering unit)) and (Position of whateverHero <gen>)) Less than or equal to 700.00
Actions
Trigger - Turn off (This trigger)
Unit - Add (Ability being cast) to whateverHero <gen>
Wait 40.00 seconds
Unit - Remove (Ability being cast) from whateverHero <gen>
Trigger - Turn on (This trigger)

I turn the trigger off and on to prevent the trigger not finishing and not removing the ability. I am not clear on what the difference is between channeling and casting. Any ideas?
 

mr-death

Acolyte
Reaction score
51
Spellbook Help

> Contains Active, Passive, Autocast, and Hero Abilities.

A little change here, maybe.
You cannot give Hero Abilities, cause the options are Unit and Item Abilities.

Unless you use Triggers for Hero Abilities as in
Tutorial: Makin' spellbooks by Andrewgosu.
 
W

Whiteboy

Guest
Can you please give an example channel ability that needs a trigger. :(
 

Giantpanda

New Member
Reaction score
1
I'm having a large amount of issues with the flying part. I have a hero, i give him crow form, remove it, then change his flying height to 50 at 200 and it does nothing. I think it may be because i dont know exactly what the action refers to when it says 50 at 200. Does it mean that the unit takes 200 seconds to raise 50 units? I'm so confused.
 

Prometheus

Everything is mutable; nothing is sacred
Reaction score
591
Animation - Change (Last created unit) flying height to 0.00 at 200.00
The 0.00 is the flying height, the 200.00 is the time it takes. I think...
Try swapping the values.
 

Giantpanda

New Member
Reaction score
1
Animation - Change (Last created unit) flying height to 0.00 at 200.00
The 0.00 is the flying height, the 200.00 is the time it takes. I think...
Try swapping the values.

Yes but is the 200 part in minutes, seconds, warcraft time or what?
 

Chocobo

White-Flower
Reaction score
409
Flying height changing :
1. unit
2. height "z" of unit you want to go to
3. velocity ("z" of unit per second)

examples for a footman (requires 'Amrf') :


--- height changing ---
1.
current height : 0.00 (at ground)
height you want to go to : 500.00
velocity you put : 100.00
it takes (500.00/100.00) = 5.00 seconds to go to 500.00 height

2.
current height : 0.00 (at ground)
height you want to go to : 1000.00
velocity you put : 100.00
it takes (1000.00/100.00) = 10.00 seconds to go to 1000.00 height

3.
current height : 0.00 (at ground)
height you want to go to : 1500.00
velocity you put : 100.00
it takes (1500.00/100.00) = 15.00 seconds to go to 1500.00 height

--- prefixed current height ---
4.
current height : 200.00 (NOT at ground)
height you want to go to : 500.00
velocity you put : 100.00
it takes ((500.00-200.00)/100.00) = 3.00 seconds to go to 500.00 height from 200.00

5.
current height : 200.00 (NOT at ground)
height you want to go to : 1000.00
velocity you put : 100.00
it takes ((1000.00-200.00)/100.00) = 8.00 seconds to go to 1000.00 height from 200.00

6.
current height : 200.00 (NOT at ground)
height you want to go to : 1500.00
velocity you put : 100.00
it takes ((1500.00-200.00)/100.00) = 13.00 seconds to go to 1500.00 height from 200.00

--- other velocity---
7.
current height : 0.00 (at ground)
height you want to go to : 500.00
velocity you put : 250.00
it takes (500.00/250.00) = 2.00 seconds to go to 500.00 height

8.
current height : 0.00 (at ground)
height you want to go to : 1000.00
velocity you put : 250.00
it takes (1000.00/250.00) = 4.00 seconds to go to 1000.00 height

9.
current height : 0.00 (at ground)
height you want to go to : 1500.00
velocity you put : 250.00
it takes (1500.00/250.00) = 6.00 seconds to go to 1500.00 height

--- some random mixes ---
10.
current height : 0.00 (at ground)
height you want to go to : 4000.00
velocity you put : 700.00
it takes (4000.00/700.00) = ~5.714.. seconds to go to 4000.00 height

11.
current height : 0.00 (at ground)
height you want to go to : 2000.00
velocity you put : 500.00
it takes (2000.00/500.00) = 4.00 seconds to go to 2000.00 height

12.
current height : 0.00 (at ground)
height you want to go to : 100.00
velocity you put : 250.00
it takes (100.00/250.00) = 0.40 seconds to go to 100.00 height

13.
current height : 500.00 (NOT at ground)
height you want to go to : 0.00
velocity you put : 250.00
it takes (Abs(0.00-500.00)/250.00) = 2.00 seconds to go to 0.00 height from 250.00

... and so on..

so in general :
current height = y
height you want to go to = z
velocity = v

by solving (if you need one parameter from all others) :
time = t = (Abs(y-z)/v)
y = {z-tv ; z+tv}
z = {y-tv ; y+tv}
v = (Abs(y-z))/t
 

DoubleZeta

New Member
Reaction score
0
I can't seem to find Alarm (Alert/Aalr). How can I edit the skill's values? Is there some trick to have it show up on the object editor?

I can put the skill on units, but no clue as to why I can't search for it on the skills tab even with display raw data and searching for it as "Aalr" which also shows up on a unit that I put the skill on.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top