Make towers unable to attack

Status
Not open for further replies.
Level 7
Joined
Jun 2, 2016
Messages
117
Hey Hivers,
Ive created an ability, which stops towers attacking and stealing experience, based on the "bear form". As replacement for the bear ive created a copy of the tower, and set its combat stats to 0. But it doesnt seem to work. Any suggestions?

0125.png


0126.png


Thanks for your time.
 
there is an alternative:
duplicate ability Cargo Hold (Orc Burrow), set in your custom ability field "Data Cargo Capacity" to 0. Then whenever you want to disable attack on unit (tower, hero, normal unit) just add this ability to a unit. To enable attacks again - remove ability. Example:
  • cargo
    • Events
      • Player - Player 1 (Red) types a chat message containing c as An exact match
    • Conditions
    • Actions
      • Unit - Add Cargo Hold (Orc Burrow) custom to Guard Tower 0078 <gen>
      • Wait 10.00 seconds
      • Unit - Remove Cargo Hold (Orc Burrow) custom from Guard Tower 0078 <gen>
 
there is an alternative:
duplicate ability Cargo Hold (Orc Burrow), set in your custom ability field "Data Cargo Capacity" to 0. Then whenever you want to disable attack on unit (tower, hero, normal unit) just add this ability to a unit. To enable attacks again - remove ability. Example:
  • cargo
    • Events
      • Player - Player 1 (Red) types a chat message containing c as An exact match
    • Conditions
    • Actions
      • Unit - Add Cargo Hold (Orc Burrow) custom to Guard Tower 0078 <gen>
      • Wait 10.00 seconds
      • Unit - Remove Cargo Hold (Orc Burrow) custom from Guard Tower 0078 <gen>

Curious, would that work on non-building units too?
 
Status
Not open for further replies.
Back
Top