Enables scripts to communicate strings with integer values back to the user using the battlescape warning text feature.
Example usage, display hit information:
extended:
scripts:
damageUnit:
- offset: 99
code: |
if gt to_health 0;
battle_game.flashMessage "STR_DAMAGE_DEALT" to_health to_armor;
end;
return;
extraStrings:
- type: en-US
strings:
STR_DAMAGE_DEALT: "HP: {0} / Armor: {1}"