VN_fnc_UI_UpdateImg

From Savage Game Design Wiki
Jump to navigation Jump to search
← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Dscha
Argument(s): n/a
Effect(s): unknown

Description

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

Syntax
[_mode,_ctrl] call VN_fnc_UI_UpdateImg;
Parameters
_mode: Number - (Optional, default 0) 0 = normale Texture
_ctrl: Control - (Optional, default controlNull) Control to change the image
Return value
Nothing

Examples

Example 1