• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[General] How to create sanctuary area?

Status
Not open for further replies.
When a unit enters in a region that is the 'sanctuary' this unit is not allowed to use spells and to attack other units.

I can make this with unit begins casting an abilty/unit is attacked - then stop, but is there a way to disable all these things on a unit until it leaves the region. Disable all abilities and disable attack? Any ideas?
 
Level 25
Joined
Sep 26, 2009
Messages
2,381
yes it is. Use the Cloud spell - it allows you to disable melee attacks, ranged attacks and spells. It's channeled AoE. You could try using dummy and an invisible model for the cloud effect as well as duration 0.00 to make it being channeled permanently. (dunno if the duration 0.00 will actually work, but it's worth giving a try)
 
Status
Not open for further replies.
Top