Skip to content
VN_fnc_UI_UpdateImg

VN_fnc_UI_UpdateImg

v1.00Theme: UI and HUDGroup: Shared helpersReturns: Nothingno example yet

Exchange the image of a control, if the Cursor enters or leaves the Area. Image paths are stored in the control itself (“text” & “textUp”). Script will search the Mission AND Addon files for the control data.

Syntax

[_mode,_ctrl] call VN_fnc_UI_UpdateImg;

Parameters

ParameterTypeDefaultDescription
_mode Number0 0 = normale Texture| 1 = alternative Texture
_ctrl ControlcontrolNull Control to change the image

Documented by Dscha.