What I wish to do is to dynamically change certain fields in alerts depending on certain conditions. Is there a way to do this? Any help is much appreciated.
I'm not sure you understand my question. Allow me to give an example.
Say I have the following trigger:
As you can see, my custom message variable is local; assume that it is global, identified by gv_customMessage.
Then, there is the ResourceExhausted_Mineral_Zerg data.
What I wish to do is have the text field obtain its value from gv_customMessage; therefore, for the first 15 seconds of game time you get the message "A mineral field has been depleted." whereas any time after that, you get "Mineral field depleted." instead.
What I wish to do is to dynamically change certain fields in alerts depending on certain conditions. Is there a way to do this? Any help is much appreciated.
buffs.
I'm not sure you understand my question. Allow me to give an example.
Say I have the following trigger:
As you can see, my custom message variable is local; assume that it is global, identified by gv_customMessage.
Then, there is the ResourceExhausted_Mineral_Zerg data.
What I wish to do is have the text field obtain its value from gv_customMessage; therefore, for the first 15 seconds of game time you get the message "A mineral field has been depleted." whereas any time after that, you get "Mineral field depleted." instead.
http://forums.sc2mapster.com/development/tutorials/1250-triggers-catalog-field-value-get-set/
http://forums.sc2mapster.com/development/map-development/2971-need-help-with-catalog-set-value-for-behaviors/
http://forums.sc2mapster.com/development/map-development/2447-error-catalog-field-not-written-when-trying-to-set/
http://forums.sc2mapster.com/development/map-development/3164-issue-with-setting-catalog-field-value-in-array/
http://forums.sc2mapster.com/development/map-development/3046-changing-data-entries-on-the-fly/
@zifoon: Go
Thank you very much! That'll make a lot of things much easier. :)