• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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>
 

Chaosy

Tutorial Reviewer
Level 41
Joined
Jun 9, 2011
Messages
13,239
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.
Top