This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
This is a very useful function. It would be more useful if you could extract ONE value from an array, especially a fixed size array like CUnit_ResourceCost...
have you tried something like
ResourceCost[0] ? this is also used for Text / Tooltips so it might work
That might answer your questions: http://forums.sc2mapster.com/development/tutorials/1250-triggers-catalog-field-value-get-set/
This is a very useful function. It would be more useful if you could extract ONE value from an array, especially a fixed size array like CUnit_ResourceCost...
have you tried something like
ResourceCost[0] ?
this is also used for Text / Tooltips so it might work
That might answer your questions: http://forums.sc2mapster.com/development/tutorials/1250-triggers-catalog-field-value-get-set/