Im having a heck of a hard time figuring out which function is supposed to return the ability command index that created the specified unit.
I have the event "Any unit creates a unit with (Build Ability)"
This ability is an SCV type ability that is building structures.
I need the actions to execute ONLY when a specific building type is built. But in most conditions, it only returns the ability itself. I cannot get it to identify the specific command index within that ability. I see the functions involving the command index with the ability, but I have no idea how to arrange the triggers and get the specific command index of the ability that created the specified unit.
Im having a heck of a hard time figuring out which function is supposed to return the ability command index that created the specified unit.
I have the event "Any unit creates a unit with (Build Ability)"
This ability is an SCV type ability that is building structures.
I need the actions to execute ONLY when a specific building type is built. But in most conditions, it only returns the ability itself. I cannot get it to identify the specific command index within that ability. I see the functions involving the command index with the ability, but I have no idea how to arrange the triggers and get the specific command index of the ability that created the specified unit.
Any help would be greatly appreciated.
Not at an editor, but can you just check the unit, rather than the ability?
@LucidIguana: Go
@LucidIguana: Go
Thanks, I actually found another work around for this.