HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Unit won't hold position

07-29-2007, 12:18 PM#1
ChaosWolfs
I have started another map project and noticed a weird issue with a unit. I have a unit (medic) with the heal ability (priest heal) and the medic will not hold position. The marines will.

It's attack and acq. range was at 1400, but is currently at 500.
While the attack and acq. range was at 1400, the heal ability's cast range was 250. Now the attack range is 500, so is the heal ability's cast range.

Yet in both cases, the medic STILL moves. It is to attack or heal someone else. Should I just make a trigger-heal ability replacing the current heal ability being used to prevent the medic from moving? I honestly do not know why my medic moves. Any ideas?
07-29-2007, 09:02 PM#2
fps-doug
I think any order will make a unit no longer hold position (for example if you tell it to stop it wont hold anymore). the heal spell is just another order I think, so it will stop holding position after it heals someone.
07-29-2007, 09:08 PM#3
darkwulfv
The hold position order will be nulled when the priest heals since it gives it an order. Auto-aquiring targets for attacking does not.
07-30-2007, 10:58 PM#4
ChaosWolfs
Quote:
Originally Posted by darkwulfv
The hold position order will be nulled when the priest heals since it gives it an order. Auto-aquiring targets for attacking does not.

Hmm. How do I change hold position so it won't be nulled on priest heal?
07-30-2007, 11:54 PM#5
darkwulfv
Can't, sorry. It's hardcoded that when a unit is on hold position, the only command it can be given without breaking hold position is auto-aquiring attacks.

However, an alternative would be to catch when a priest uses heal, then wait like 1 second or do (for the effect to happen), then command them to hold position. I'm unsure if it will work, but that's the best I can think of.