I am creating a map that uses custom ability/unit data which relies heavily on the use of records. Instead of creating a trigger that fires on initialization to set all the records, is there a way to preprogramme it so that the values are loaded before the map begins?
I.e. define the initial value of this record, for one of many custom abilties:
Ability X
Adrenaline Cost
Required Str
Required Dex
Required Int
SpellCan'tBeCountered
are all stored in a record. But right now I have to wait till map initialization then fire a trigger for each of my abilities to set those values, slowing down the game considerably.
I am creating a map that uses custom ability/unit data which relies heavily on the use of records. Instead of creating a trigger that fires on initialization to set all the records, is there a way to preprogramme it so that the values are loaded before the map begins?
I.e. define the initial value of this record, for one of many custom abilties:
Ability X Adrenaline Cost Required Str Required Dex Required Int SpellCan'tBeCountered
are all stored in a record. But right now I have to wait till map initialization then fire a trigger for each of my abilities to set those values, slowing down the game considerably.
You can put all the struct inits together into one big trigger. But there's no way of preloading that information.