- Joined
- Jul 22, 2007
- Messages
- 261
is their any way to add the Locust ability w/ triggers? in the Unit-Add Ability you cant find it in there, so is their any other way to add it to the unit w/o having it on it in the first place?
Go to Actions, and scroll to "Custom script". Then, type this: "call UnitAddAbility (GetTriggerUnit(), 'Aloc')". So, this, would look like this in the Editor:
GetTriggerUnit() is the equivalent of Triggering Unit in GUI.
Custom script: call UnitAddAbility (GetTriggerUnit(), 'Aloc')
I know, it's an example; believe it or not though, I used to add locust to some caster though, because I wanted to disable him from being controlled afterwards (campaign related issue).![]()
GetLastCreatedUnit()
is some embellished crap Blizzard through in the code to try to make it seem like GetTriggerUnit() or GetAttacker(). It's not. That facade of a script only returns the value "bj_lastCreatedUnit" which only applies if the unit was created through an embellished BJ function to begin with! GetLastCreatedUnit()
is some embellished nonsense Blizzard through in the code to try to make it seem like GetTriggerUnit() or GetAttacker(). It's not. That facade of a script only returns the value "bj_lastCreatedUnit" which only applies if the unit was created through an embellished BJ function to begin with.
GUI noobies who still create units with the useless CreateNUnitsAtLoc function would do better to reference bj_lastCreatedUnit instead of GetLastCreatedBullshit
How in the world did you see that as an insult to you? If anything, it's an insult to Blizzard, and they really don't care.umad bro?
If it works it works. Don't think anyone will take your advice when you insult them.
How in the world did you see that as an insult to you? If anything, it's an insult to Blizzard, and they really don't care.