Difference between revisions of "VN fnc UI UpdateImg"
Jump to navigation
Jump to search
(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...") |
(No difference)
|
Latest revision as of 21:05, 4 May 2022
| ← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Dscha |
|
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