• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

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