• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Silence items? {using Silence to prevent heroes from using items}

Status
Not open for further replies.
Level 11
Joined
Dec 31, 2007
Messages
780
well... couldnt find anything in gameplay constants neither searching in the forum so i ask here this question... how can i make so that silences can affect item abilities (while carring the item of course)

i wan to prevent heroes to use items while silenced... any idea?
 
Level 11
Joined
Dec 31, 2007
Messages
780
if i change its target type to item... i must target an item to silence it ... it wont silence the item inside the inventory... isnt there any other way inspite of :

(casting unit) has buff == to (silence (and any kind of other silences) == to true

then order casting unit to stop?...

isnt there any gameplay cosntant or object editor way to do it?
 
Level 11
Joined
Dec 31, 2007
Messages
780
ive looked up for silences in my map there are 4 options in there...

Data - Attacks prevented
melee
ranged
special
spells

those are for options to tick... spells is checked... but there are no items to select... would it be special?

EDIT: nop... it is not special :/
 
Level 6
Joined
Jan 27, 2007
Messages
208
hmm, replace the item that you want to get silenced with same item that not have any ability? and make that item undroppable.

after a few second, replace back again your item.

maybe you must recheck every 0.x second to detect unit get silenced...
 
Status
Not open for further replies.
Top