HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Can You Add the Aloc Ability With GUI?

03-28-2008, 02:17 AM#1
Kratos
I can't seem to find it in the ability list.
Or do I have to use JASS (which I hate)?
03-28-2008, 02:24 AM#2
Malf
Yes it's not in GUI's list.

Trigger:
Events
Conditions
Collapse Actions
Custom script: call UnitAddAbility(YourUnit,'Aloc')

Just replace YourUnit with the actual unit you want to add Aloc to.
03-28-2008, 02:29 AM#3
Kratos
Ok, thank you. Can you give an example? I want it to add it to the last created unit. Would the script look like this? call UnitAddAbility(LastCreatedUnit,'Aloc')?
03-28-2008, 02:30 AM#4
Malf
Trigger:
Events
Conditions
Collapse Actions
Custom script: call UnitAddAbility(bj_lastCreatedUnit,'Aloc')
03-28-2008, 02:32 AM#5
Kratos
Thanks!
03-28-2008, 02:49 AM#6
Kratos
I just found out I can get the same thing accomplished by adding and removing locust (making a unit unselectable but vulnerable).

My question is, is there any benefit to using locust instead of aloc or vise versa? Or are they the exact same thing?
03-28-2008, 03:30 AM#7
Rising_Dusk
Locust is the exact same thing as Aloc; Aloc is locust's raw ID.
03-29-2008, 04:03 PM#8
Burning Rose
We just usually refer to it by Aloc because there is also the Locust Swarm Ability, and actual Locust Units. Aloc just makes it simpler :). One thing to watch out for though: Pick Every Unit won't work with Aloc Units, though I'm not sure if they had it removed.
03-29-2008, 08:28 PM#9
Ammorth
Enum Units in _____ won't work (except for Enum units owned by player).