• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Removing the Worker classification

Status
Not open for further replies.
Level 21
Joined
Nov 4, 2013
Messages
2,016
Ok guys, I'm really bogged down on this. To disable the auto-attack of a unit, I added the Worker classification to it through the Object Editor. However, when the AI controls this unit, it doesn't attack any enemy unit even by ordering this through triggers. I need to remove the Worker classification from this unit if it is controlled by the AI but I have no idea how to do that (and no, I won't create a copy of the unit, it would force me to reconfigure too many intricate triggers so that's the last resort). If that's impossible, is there another way to disable auto-attack that doesn't require complicated triggers?
 
You do have "Unit - Remove Classification from unit" in the trigger editor, could you play around with it?

I guess the "A peon type unit" could be related to Orc Burrows, but could also be linked to workers.

Maybe open it open with jass and check what it does etc.
 
You do have "Unit - Remove Classification from unit" in the trigger editor, could you play around with it?

I guess the "A peon type unit" could be related to Orc Burrows, but could also be linked to workers.

Maybe open it open with jass and check what it does etc.

My JASS knowledge is 0...
I also thought of using peon-type but since I had no more time to test it, I preferred asking.

Arad, what am I supposed to do with a DDS?
 
There is definitely a trigger action that can add a unit classification.

I know I've added worker classification to units before. It was when I was a total noob at the editor and I was basically just trying to have a way to mark units as being tagged by some ability. I was using various unit classes and worker was one of them. I had to fix it because it changed attack priority for other units and it most likely also would have made other, strange bugs.

In any case, I know it exists, but I don't remember what it's called.
 
No permanent invisiblity or stuff... LordDz and I were correct from the principle. Removing "A peon-type" works perfectly, I guess my indolence made me ask this useless question here :P Thanks for your answers anyway :wink:
I still have problems with this one though... it's still unsolved. Setting it to any value between 0.00 to 0.10 doesn't seem to work.
 
Status
Not open for further replies.
Back
Top