-
Notifications
You must be signed in to change notification settings - Fork 0
/
Arma2.cms
44 lines (38 loc) · 873 Bytes
/
Arma2.cms
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
// CMS Script File
//
// Game Title: Arma 2
// Written By: Sias "Dace" Mey
// Date: 21 July 2009
//
%define revButton js2.b4
%define StandButton cms.b1
%define CrouchButton cms.b2
%define ProneButton cms.b3
%define MiniYIn js2.a2
%define ThrottleIn js2.a3
%define ThrottleOut cms.a1
script
if ([MiniYIn < 20]) then
StandButton = true;
else
StandButton = false;
endif
if ([MiniYIn > 240]) then
if (not revButton) then
CrouchButton = true;
else
ProneButton = true;
endif
else
if (not revButton) then
CrouchButton = false;
else
ProneButton = false;
endif
endif
if (not revButton) then
ThrottleOut = 128 + (127-(ThrottleIn/2));
else
ThrottleOut = 127 - (127-(ThrottleIn/2));
endif
endScript