| 11-18-2003, 01:01 AM | #1 |
You might remember my "dummies can't attack" post about my spawned units for a triggered spell effect. I couldn't get them to attack because I was too newbie to do the right code, and when finally someone did the code for me, it was a little buggy in the fact that they would sometimes autoaquire targets and... I could go on, the point is - I could have saved a lot of trouble by making them "Worker" class units so they wouldn't autoaquire but I didn't want the icon to show. So, last night I made them workers anyway, I was testing something and needed them to absolutely NOT autoaquire, so I did this. And they did NOT make an icon appear. I'm not sure why, but I am really curious now if anyone knows what property would make these "Worker" class units not display an icon... Aloc? No move speed? I can't figure it out, as I can't make them display an icon.. |
| 11-23-2003, 09:28 AM | #2 |
I have a throy, though untested... Perhaps a race only has one worker icon, if the icon does not match the icon of the unit, then the main display can't show it. It could be a blizzard compatability error (most likely) or it could be part of the custom code that was done for you. BTW autoaquire can be turned off setting aquisition range to nil. |
| 11-23-2003, 12:36 PM | #3 |
Aquisition range to zero = attack range to zero = no attacking at all. :( |
| 11-23-2003, 03:49 PM | #4 | |
Quote:
Wrong, setting the aqisition range to zero gives it an umlimited aquiston range. Anyways, that is interesting, can you post anything unusual about the unit, like its base unit, range, race ect..? |
| 11-23-2003, 03:57 PM | #5 |
Yeah, you're right. I didn't mean zero, I meant.. the lowest possible aquisition range without going to zero ;) (.01) They can't attack at all. Edit... They started showing icons again, and I don't know what I changed to make them do that since I pretty much revamped the whole unit. I've since set their HPs to 2 and their HP regen to -1 so.. they don't even live long enough to show an icon anymore. |
| 11-23-2003, 04:02 PM | #6 |
Now this could be interesting because many have tried to get rid of the idle peon icon without success. I'm really curious what causes that strange behaviour *encourage you to do some more testing* |
| 11-23-2003, 04:14 PM | #7 |
Well, I'll see if I can find the old copy of the map that I posted here when I was still working on the spell in it's first incarnation. I really only know of the top of my head that they had Aloc, Ghost (edited to not autoaquire targets) and.. possibly invulnerability. When I revamped them Ghost was one of the abilities I removed because I decided I wanted the enemy to see the units and I changed them to be more graphically appropriate to the slow orb missile model. Anything else that is relevant is ? sorry :( |
| 11-23-2003, 05:37 PM | #8 |
Well, I'm quite sure it is a side effect of one of the abilities and the combination of those abilities We already know that Aloc has lots of side effects so this might be another one |
| 11-23-2003, 09:33 PM | #9 |
You could set all the players to neutral with eachother when the guy pops up, then turn it off again. Anyone attacking will still attack, but your guy wont auto attack, because he didnt have an attack order. |
