event problem

xenaris

New Member
Reaction score
2
in the unit events select life
"your unit"'s life becomes less than "your unit's" life/100*20
not in WE right now

maybe u should try this???:eek:
 

obucke

Member
Reaction score
23
in the unit events select life
"your unit"'s life becomes less than "your unit's" life/100*20
not in WE right now
that is right but its not generic unit event ... my unit is a hero that is to be chosen, its not preplaced ... and i cant select "your unit's" life in the right side of the equation. Im so lost ....:(

And linamus ure idea is good , but that would trigger to offten ...i think that would create problems
+ rep for both of u anyway ...

____________________________________________________________________
If you want to get smarter, you have to play a smarter opponent. Play me :)
Eternal Realms:
Eternal War of the Tribes - http://www.thehelper.net/forums/showthread.php?t=85805
 

San-D

New Member
Reaction score
15
Event
Game - Real Value

Life of (Ur Unit) becomes less than or equal to 20% (thats percentage option) if there is no option just use arithmetics (Life/100)*20 like that guy up there said
 

obucke

Member
Reaction score
23
How do i make something a variable if its not there :p the hero has to be chosen he IS NOT preplaced ...:(

____________________________________________________________________
If you want to get smarter, you have to play a smarter opponent. Play me :)
Eternal Realms:
Eternal War of the Tribes
 

San-D

New Member
Reaction score
15
Make a Var for the hero, when he's chosen. THEN make a Var fir the Life of that Other VAR

(ull need that Var fo the hero in other triggers, Im sure of it!)
 

wewso

New Member
Reaction score
11
that is right but its not generic unit event ... my unit is a hero that is to be chosen, its not preplaced ... and i cant select "your unit's" life in the right side of the equation. Im so lost ....:(

And linamus ure idea is good , but that would trigger to offten ...i think that would create problems
+ rep for both of u anyway ...

You can still have non pre-placed units in Trigger events see this:



Code:
Detect Heroes
    Events
        Unit - A unit enters (Playable map area)
    Conditions
        ((Triggering unit) is A Hero) Equal to True
    Actions
        Trigger - Add to Hero Actions <gen> the event (Unit - (Triggering unit)'s life becomes Less than ((Life of (Triggering unit)) x 0.20))

Code:
Hero Actions
    Events
    Conditions
    Actions
        -------- Your actions here --------

Hope I helped :rolleyes:
 

obucke

Member
Reaction score
23
K right now im extremely confused ... The spell is :
When the Breserkers hp drop below 20% he gets a buff for +10%(20/30/40) attack damage until he gets his hp back above 20% ...Some1 just do it for me plz
Keep in mind that it has to be MPI ...

____________________________________________________________________
If you want to get smarter, you have to play a smarter opponent. Play me :)
Eternal Realms:
Eternal War of the Tribes
 

wewso

New Member
Reaction score
11
Code:
Detect Hero
    Events
        Unit - A unit enters (Playable map area)
    Conditions
        ((Triggering unit) is A Hero) Equal to True
    Actions
        Trigger - Add to Enter Berserk Form <gen> the event (Unit - (Triggering unit)'s life becomes Less than ((Life of (Triggering unit)) x 0.20))
        Trigger - Add to Exit Berserk Form <gen> the event (Unit - (Triggering unit)'s life becomes Greater than ((Life of (Triggering unit)) x 0.20))

Code:
Enter Berserk Form
    Events
    Conditions
    Actions
        Unit - Add Rage  to (Triggering unit)
        Unit - Order (Triggering unit) to Night Elf Druid Of The Claw - Roar
        Unit - Remove Rage  from (Triggering unit)

Code:
Exit Berserk Form
    Events
    Conditions
    Actions
        Unit - Remove Rage  buff from (Triggering unit)


You need a Rage ability based off of Night Elf Roar and a also a buff Rage.
 

obucke

Member
Reaction score
23
I have only 1 question to ask. Is this MPI ?

____________________________________________________________________
If you want to get smarter, you have to play a smarter opponent. Play me :)
Eternal Realms:
Eternal War of the Tribes
 
S

Slate.Master

Guest
MPI -> Is more than 1 player able to use this hero/unit's ability?
MUI -> Is more than a unit owned by the same player able to use this ability?
 

Flare

Stops copies me!
Reaction score
662
It's MUI from what I can see (but with the hero condition, it's MUI for heroes only :p).

Also, if a hero dies and revives, you will be adding the events to the detection triggers repeatedly since it's entering the playable map area again.

Edit: Hmmm, why use an actively cast ability when you can use a modified Command Aura in a disabled spellbook (to hide the icon). Won't cancel the unit's current order and cuts out a line of the activation trigger (3 -> 2 lines of code isn't much, but meh ^^)
 

obucke

Member
Reaction score
23
I mean Multi Player Instancable ya. cos there will be a possibility for 2 heroes of each type on both sides.
 
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