• 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.

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