-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdiag_exec.sqf
142 lines (76 loc) · 3.12 KB
/
diag_exec.sqf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
execVM "MedYink\functions.sqf";
sleep 1;
_diag = [unit2,_this select 1,_id] spawn yink_fnc_diag;
//[] call BIS_fnc_GUIeditor;
//_diag1 = [(_this select 0),"hands"] spawn yink_fnc_anim;
//[] call BIS_fnc_animViewer;
/*
_target = _this select 0;
_caller = _this select 1;
_id = _this select 2;
prone check : AinvPknlMstpSnonWnonDr_medic4
prone inject : AinvPknlMstpSnonWnonDnon_medic1
prone head : AinvPknlMstpSnonWnonDnon_medic0
prone body : AinvPknlMstpSnonWnonDnon_medic4
prone legs : AinvPknlMstpSnonWnonDr_medic2
prone hands : AinvPknlMstpSnonWnonDnon_medic2
prone misc : AinvPknlMstpSnonWnonDnon_medic3
crouch check : AinvPknlMstpSnonWnonDr_medicUp4
crouch inject : AinvPknlMstpSnonWnonDnon_medicUp1
croucn hands : AinvPknlMstpSnonWnonDnon_medicUp2
crouch head : AinvPknlMstpSnonWnonDr_medicUp1
crouch body : AinvPknlMstpSnonWnonDnon_medicUp3
crouch legs : AinvPknlMstpSnonWnonDnon_medicUp3
defib : AinvPknlMstpSnonWnonDr_medic5
cpr : AinvPknlMstpSnonWnonDr_medic0
AinjPpneMstpSnonWnonDnon
crouch healed : AinvPknlMstpSnonWnonDnon_healed_2
prone healed : AinjPpneMstpSnonWnonDnon_injuredHealed
[unit2,"AmovPercMstpSrasWrflDnon_AinvPknlMstpSlayWrflDnon"] call BIS_fnc_ambientAnim;
_diag = [_target,_caller,_id] spawn yink_fnc_diag;
/*
if ((_partHit)==(_x select 0)) then
{ _source1 = _x select 2;
_tempList0 = _tempList select 1;
_tempList1 = _tempList select 2;
_tempList2 = _tempList select 3;
_tempList01 = ((_tempList select 1) select 1);
_tempList11 = ((_tempList select 2) select 1);
_tempList21 = ((_tempList select 3) select 1);
if (_source1 isKindOf "Grenade") then
{ _tempList2 set [1,_tempList21 + (_x select 1)];
};
if (_source1=="") then
{ _tempList0 set [1,_tempList01 + (_x select 1)]
};
if (_source1 isKindOf "MissileCore") then
{ _tempList2 set [1,_tempList21 + (_x select 1)]
};
if (_source1 isKindOf "BombCore") then
{ _tempList2 set [1,_tempList21 + (_x select 1)]
};
if (_source1 isKindOf "RocketCore") then
{ _tempList2 set [1,_tempList21 + (_x select 1)]
};
if (_source1 isKindOf "ShellCore") then
{ _tempList2 set [1,_tempList21 + (_x select 1)]
};
if (_source1 isKindOf "SubmunitionCore") then
{ _tempList2 set [1,_tempList21 + (_x select 1)]
};
if (_source1 isKindOf "ShotDeployCore") then
{ _tempList2 set [1,_tempList21 + (_x select 1)]
};
if (_source1 isKindOf "GrenadeCore") then
{ _tempList2 set [1,_tempList21 + (_x select 1)]
};
if (_source1 isKindOf "TimeBombCore") then
{ _tempList2 set [1,_tempList21 + (_x select 1)]
};
if (_source1 isKindOf "BulletCore") then
{ _tempList1 set [1,_tempList11 + (_x select 1)]
};
if (_source1 isKindOf "ShotgunCore") then
{ _tempList1 set [1,_tempList11 + (_x select 1)]
};
};