HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

A Peon-Type classification

09-06-2010, 10:12 PM#1
nome
Well, I needed to make a unit to loose the auto-engage ability so I gave it the classification of a Peon-type.. but now the unit flees when it gets attacked..
is there a way to change that? i tried disabling the "Can Flee" from the unit that gets the Classification, but didn't work..

any ideas?

ps: i didn't know where did this post go, so i came here..
Thanks in advance!
09-07-2010, 12:54 AM#2
Fledermaus
call SetUnitAcquireRange(whichUnit, 0.01)
09-07-2010, 01:23 AM#3
nome
i'm not really good with JASS, that should go after i change the unit's classification ??
09-07-2010, 01:48 AM#4
Fledermaus
That should replace it. And you can use the GUI instead.

Trigger:
Unit - Set Some Unit acquisition range to 0.01
09-07-2010, 02:11 AM#5
nome
I need the unit not to flee when attacked, I already did the non-attacking part
that doesn't solve it.
thanks!
09-07-2010, 07:15 PM#6
tamisrah
Dont use peon classification, do use 0.1 acquisition range and solve both problems.