| 01-19-2004, 04:28 AM | #1 |
okay guys, i really need help. Aloc is screwing up my special effects. My special effects depend on orders being issued to units with the Aloc ability on them, but it seems that they either aren't recieving the orders, or they aren't being able to actually find thier target. This isn't a problem with my variables because all of the ordering is done through varibles. While this proves an interesting thing I have been wondering about Aloc, it is really pissing me off right now because I need to have these units be unselectable and untargetable, and if possible unseen on minimap, but I obviously can't do it using Aloc. I though about using shadow meld, but that won't work either. Is there any way to make a unit unselectable w/out using Aloc? Untargetable is pretty easy (invulnerability), but making them dissappear from the minin map is going to be hard too. I really need to either know a work-around for this problem, or a way to make it work with Aloc on the units. The interesting thing I found out about Aloc, is that it does mess with the variable that is set to that unit. If you have a unit and you add the Aloc ability, he will no longer react the same to variable commands. I don't know how far this extends, but I do know that a unit with Aloc on will not be able to recieve orders targeting another unit with Aloc on. |
| 01-19-2004, 04:36 AM | #2 |
Uh nothing can target units with Aloc on, it's not specific to other units with Aloc. You could try adding then removing Aloc and see if it works then. I think the effect of that is making the unit able to be hit with triggered-orders but otherwise untargetable. |
| 01-19-2004, 05:55 AM | #3 |
use unit - hide (picked unit) customscript - abilityremove(aloc) blahblahblah do actions here blah blah blah unit - unhide (picked unit) edit - forgot to explain hiding the unit does something (dont ask me what) that effects the units abilities. i got this trigger from Darimus, so thank him |
| 01-19-2004, 06:40 AM | #4 |
Unselectable, invisible and untargetable? Set its model in the object editor to something that doesn't exist (like " .mdx") , and give it invulnerability. You can't Rectagle select or Click select a unit that doesn't have a model. The only way to select a unit that doesn't have a model (that I found) is if its set to "Worker" then the player can click the "Idle workers" button and then issue orders to it. A unit without models CAN be issued orders. The way I found this out is I imported a model into my map, it was a worker, and it worked fine, the model showed up and everything, then I tried locking the map with HeavyLocker. It screwed up the model and any units that had that model became unselectable, and invisible. But I could still select them by clicking the idle workers button, and I could still issue them build orders and stuff. |
| 01-19-2004, 03:31 PM | #5 |
thx allpainful, that is what I will do. Pesmerga, doing that wouldn't work, because once a unit has Aloc, even if you remove it funny things happen i.e., bounce attacks won't hit them, including bouncing spells (chain lightning) |
