|Description:||Creates a hint message displaying the value and trend of the specified values. An increasing value shows in green, with an arrow pointing up, while a decreasing value is shown in red, with an arrow pointing down. Stagnating values remain grey.|
|Syntax:||[parameters, leading_text, trailing_text, interval, condition] call fn_vbs_watchValues;|
When using functions in VBS versions older than 3.4, certain limitations and requirements should be kept in mind - the main ones being that capitalization of the function name is crucial, and that #include "\vbs2\headers\function_library.hpp" has to be included in every script that utilizes it. More Category VBS Scripting Functions.
_params = [["time", "seconds"],["round ((1.0 - getDammage player) * 100)", "health"], ["(player distance [0,0,0])", "metres"]]; [_params, "leading text", "trailing text", 0.1, "true"] call fn_vbs_watchValues;
|See also:||fn vbs indicateValueTrend|