DayZ 1.24
Loading...
Searching...
No Matches
HitDirectionImagesBase.c
Go to the documentation of this file.
1
3{
5
13
14 protected void PerformRegisterImages()
15 {
16 /*
17 RegisterImage("gui/layouts/gameplay/HitDirectionIndication.layout","Single_indicator_Splash_1");
18 RegisterImage("gui/layouts/gameplay/HitDirectionIndication.layout","Single_indicator_Splash_2");
19 ...
20 */
21 }
22
23 protected void RegisterImage(string layout_path, string image_name)
24 {
27 }
28
33
36
39 {
40 layout = GetGame().GetWorkspace().CreateWidgets(GetTypeLayoutPathArray()[m_ImageIndex]);
42 }
43}
array< string > GetTypeLayoutPathArray()
array< string > GetTypeImagePathArray()
void GetCurrentImageData(out Widget layout, out Widget image)
Layout should be sufficient for generic manipulation of the hit image.
void RegisterImage(string layout_path, string image_name)
Definition EnMath.c:7
proto native CGame GetGame()
static int RandomIntInclusive(int min, int max)
Returns a random int number between and min [inclusive] and max [inclusive].
Definition EnMath.c:54