• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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