Damage Aura

Visedek

New Member
Reaction score
0
Is their an Aura which i can edit to make the Damage of a ally hero into Minus figures, for example a hero walks near his ally and he does not deal dammage while attacking.

Or is their a way to have an aura which gives 100% miss to friendly units.
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
Friendly units? You will need a periodic event that adds a spell book with 100%evasion
 

Slapshot136

Divide et impera
Reaction score
471
command aura gives bonus damage, so turning it into a negative damage aura shouldn't be too hard, is that what you needed or do you need more help making it work?
 

Visedek

New Member
Reaction score
0
Ok, here's what i'm trying to do... when a unit enters a region (namely the prison) He looses the ability to attack. How do i Do this?
 

Dest

New Member
Reaction score
26
Ok, here's what i'm trying to do... when a unit enters a region (namely the prison) He looses the ability to attack. How do i Do this?

You trigger that you have to add a new custom script to remove the attack button.
 

Visedek

New Member
Reaction score
0
You trigger that you have to add a new custom script to remove the attack button.

Ok but how do you do that (im not good at all the custon script stuff i can only just get my head around basic triggers!
 

Visedek

New Member
Reaction score
0
NO... Im trying to remove the attack button from a unit when it enters a zone, and replace it when it leaves... How do i use the custom scripts?
 

Romek

Super Moderator
Reaction score
963
You won't want to remove the attack button - You can't add it again IIRC. :p
If you want to prevent units from being attacked in a certain region:

- A unit is attacked

- Triggering Unit is in (Region)

- Pause (Attacking Unit)
- Order (Attacking Unit to "stop"
- Unpause (Attacking Unit)
 

Visedek

New Member
Reaction score
0
You won't want to remove the attack button - You can't add it again IIRC. :p
If you want to prevent units from being attacked in a certain region:

- A unit is attacked

- Triggering Unit is in (Region)

- Pause (Attacking Unit)
- Order (Attacking Unit to "stop"
- Unpause (Attacking Unit)

Ok but, is their a way just instead of the unit being attacked to be in a region its the unit attacking?
 

Visedek

New Member
Reaction score
0
Solved it, for future refrence i used this trigger...
Trigger:
  • No Attacking
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Police Jail <gen> contains (Attacking unit)) Equal to True
    • Actions
      • Unit - Pause (Attacking unit)
      • Unit - Order (Attacking unit) to Stop
      • Unit - Unpause (Attacking unit)
 

DiFm

New Member
Reaction score
35
Why not use an uppgrade that unables attacks. and then uppgrade again to enable it.
 

Genkora

Frog blast the vent core!
Reaction score
92
How about this, disable all units' attacks (like you would a dummy) and give every unit on the map an orb ability that enables attack 1. When it enters the jail, remove the orb ability and voila, it removes the unit's ability to attack. When it exits, just add the ability back. You could hide the ability in a spell book.
 

SlayerII

New Member
Reaction score
0
just use command aura and enter a - value. You can enable minus value in the options somewhere

File->Preferences->Allow negative values in the Objekt editor
 

DiFm

New Member
Reaction score
35
Because upgrades cannot be undone.

nope but lets say you make an uppgrade with 100 Levels then on 1,3,5,7,9,11,13,15,17 you set unable attack. and on 2,4,6,8,10,12,14,16,18 you enable attack again then you just lvl it up when your unit enters and leaves.
 

Weep

Godspeed to the sound of the pounding
Reaction score
400
Ok, here's what i'm trying to do... when a unit enters a region (namely the prison) He looses the ability to attack. How do i Do this?
A search for disabling attack would show you that adding Cargo Hold (Orc Burrow) to a unit will make it unable to attack. (That's how I found about about this handy trick.)

Trigger:
  • Enter Prison
    • Events
      • Unit - A unit enters (Prison Region)
    • Conditions
    • Actions
      • Unit - Add Cargo Hold (Orc Burrow) to (Triggering unit)

Trigger:
  • Leave Prison
    • Events
      • Unit - A unit leaves (Prison Region)
    • Conditions
    • Actions
      • Unit - Remove Cargo Hold (Orc Burrow) from (Triggering unit)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top