SetUIFloatMultiple

From GECK
Jump to: navigation, search


A function added by the SUP NVSE Plugin.

Description

Sets values to specified UI trait to all childs UI elements of specified UI element.

Syntax

[help]
SetUIFloatMultiple ComponentPath:string Trait:string fValue:float iType:int

Element types(Optional filer)

1 - Rect;
2 - Image;
3 - Text;
4 - 3D;
5 - Menu;

Example

SetUIFloatMultiple "HUDMainMenu" "zoom" 20

Will set "zoom" value of all UI elements in "HudMainMenu"

SetUIFloatMultiple "HUDMainMenu" "zoom" 20 3

Will set "zoom" value of all text UI elements in "HudMainMenu"

SetUIFloatMultiple "StartMenu/NOGLOW_BRANCH" "x" 100

Will set "x" value of all UI elements in "StartMenu/NOGLOW_BRANCH"

See Also