Is it possible to add abilities to a unit in-game without placing it on their command card beforehand? I know you can show/hide or enable/disable abilities through triggers or behaviors, but is there an equivalent workaround to the absence of the 'Unit - Add ability to Unit' trigger?
In a game with 20 or 30 abilities to choose from to create a smaller actively used set, it seems like piling the abilities on to a command card and then dealing with their button placement would be either absurd or impossible.
Im actually going to be attempting this using weapons not abilitys on comp controlled units so i dont need to add the command card entries but
the command card properties are all in one big array .... if you were to piece together the values for this array at run time im pretty sure you could get it to work such as
Player selects 4 abilities from 20 then create required data strings/arrays for command card data fields
then insert them
Rollback Post to RevisionRollBack
Skype
KageNinpo = SN
My Libraries
DialogLeaderboard & TeamSort
My Projects
SPACEWAR Tribute
Infinite TD
To post a comment, please login or register a new account.
Is it possible to add abilities to a unit in-game without placing it on their command card beforehand? I know you can show/hide or enable/disable abilities through triggers or behaviors, but is there an equivalent workaround to the absence of the 'Unit - Add ability to Unit' trigger?
In a game with 20 or 30 abilities to choose from to create a smaller actively used set, it seems like piling the abilities on to a command card and then dealing with their button placement would be either absurd or impossible.
@PhantomTap: Go
Yes I do believe it can but done but i have yet to try.
Although it does require knowlege of the data field names in the data editor and use of the trigger action "Get/ Set catalog field Value"
@SouLCarveRR: Go
Seems like the catalog triggers are for pulling out specific bits of data to use from the data editor. Does anyone know more about this?
@PhantomTap: Go
http://forums.sc2mapster.com/development/tutorials/1250-triggers-catalog-field-value-get-set/
Im actually going to be attempting this using weapons not abilitys on comp controlled units so i dont need to add the command card entries but
the command card properties are all in one big array .... if you were to piece together the values for this array at run time im pretty sure you could get it to work such as
Player selects 4 abilities from 20 then create required data strings/arrays for command card data fields
then insert them