• 🏆 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!

How to make a unit stop attacking

Status
Not open for further replies.
Level 7
Joined
Aug 19, 2009
Messages
278
I have made a custom casting system. Everything works fine. The cast is triggered. The only problem I have is when other units attack the casting unit, my unit moves to attack them.

I want my unit to stand and play the channeling animation even if it is attacked. Not flee or do anything just stand there and play the animation even if it is attacked by other hostile units.

Removing the attack of the units works i.e. making attacks enabled to none.. But can it be done by trigger?
 
Level 7
Joined
Aug 19, 2009
Messages
278
Test and see for yourself. The actual name is Cargo Hold btw.

Works great thanks a lot :ogre_haosis:


----edit-----
off-topic
Can some one help me in testing my map on multiplayer. I cant seem to work kloader or jassnewgen pack 2.. I am stuck and can't work any more. Will take 4-5 mins max to test a feature.
 
Last edited:
Status
Not open for further replies.
Top