Difference between revisions of "Script/LogicGlobalFunctions"
From SF3
(Created page with "===Global Functions=== This is a list of global functions available for use in logic scripts. {| border='0' style ='border:solid 1px #eeeedd; color: black; width: 1200px;back...") |
|||
| Line 6: | Line 6: | ||
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]] | | style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|void]] | ||
| style='color: black; width: 90%; line-height: 0.8;' | '''print''' (const [[../BasicDataTypes|string]]&in) | | style='color: black; width: 90%; line-height: 0.8;' | '''print''' (const [[../BasicDataTypes|string]]&in) | ||
| + | |- | ||
| + | | style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|int]] | ||
| + | | style='color: black; width: 90%; line-height: 1.0;' | '''PercentOf''' (const [[../BasicDataTypes|int]] ''_Value'', const [[../BasicDataTypes|int]] ''_iPercent'') | ||
| + | |- | ||
| + | | style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|uint]] | ||
| + | | style='color: black; width: 90%; line-height: 1.0;' | '''PercentOf''' (const [[../BasicDataTypes|uint]] ''_Value'', const [[../BasicDataTypes|int]] ''_iPercent'') | ||
|- | |- | ||
|} | |} | ||
Latest revision as of 15:28, 15 December 2016
Global Functions
This is a list of global functions available for use in logic scripts.
| void | print (const string&in) |
| int | PercentOf (const int _Value, const int _iPercent) |
| uint | PercentOf (const uint _Value, const int _iPercent) |