Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ImageSetResource.c
Go to the documentation of this file.
3{
4 [Attribute(uiwidget: UIWidgets.ResourceNamePicker, params: "imageset")]
5 protected ResourceName m_Set;
6
7 [Attribute()]
8 protected string m_sImage;
9
10 //------------------------------------------------------------------------------------------------
11 override void ApplyTo(ImageWidget widget)
12 {
13 if (m_Set.IsEmpty())
14 {
15 Print("Image set not defined!", LogLevel.ERROR);
16 return;
17 }
18
19 if (widget)
20 widget.LoadImageFromSet(0, m_Set, m_sImage);
21 }
22}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
override void ApplyTo(ImageWidget widget)
proto void Print(void var, LogLevel level=LogLevel.NORMAL)
Prints content of variable to console/log.
LogLevel
Enum with severity of the logging message.
Definition LogLevel.c:14
SCR_FieldOfViewSettings Attribute