VN_fnc_UI_UpdateImg

From Savage Game Design Wiki
Revision as of 21:05, 4 May 2022 by Slow (talk | contribs) (Created page with "{{Function |v= 1.00 |author=Dscha |a= |e= |g1= mainFunctions |d= <pre>Exchange the image of a control, if the Cursor enters or leaves the Area. Image paths are stored in...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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