|
@@ -1,11 +1,13 @@
|
|
|
+params ["_vic"];
|
|
|
+
|
|
|
comment "Variable Decs";
|
|
|
-_this allowDamage false;
|
|
|
-_this setvariable ["Speed",200,true];
|
|
|
-_this setvariable ["turnon",true,true];
|
|
|
+_vic allowDamage false;
|
|
|
+_vic setvariable ["Speed",200,true];
|
|
|
+_vic setvariable ["turnon",true,true];
|
|
|
|
|
|
|
|
|
comment "Increment Speed";
|
|
|
-_this addAction ["<t color='#A668C2'>Increment Speed by 10 -------- U16</t>",
|
|
|
+_vic addAction ["<t color='#A668C2'>Increment Speed by 10 -------- U16</t>",
|
|
|
{
|
|
|
(_this select 0) setvariable ["Speed",(((_this select 0) getVariable "Speed")+10),true];
|
|
|
hint parseText format["<t color='#A668C2'> Speed set to:%1 Kmph</t>",((_this select 0) getVariable "Speed")];
|
|
@@ -14,7 +16,7 @@ hint parseText format["<t color='#A668C2'> Speed set to:%1 Kmph</t>",((_this sel
|
|
|
|
|
|
|
|
|
comment "Decrement Speed";
|
|
|
-_this addAction ["<t color='#FF69B4'>Decrement Speed by 10 -------- U17</t>",
|
|
|
+_vic addAction ["<t color='#FF69B4'>Decrement Speed by 10 -------- U17</t>",
|
|
|
{
|
|
|
(_this select 0) setvariable ["Speed",(((_this select 0) getVariable "Speed")-10),true];
|
|
|
hint parseText format["<t color='#FF69B4'>Speed set to:%1 Kmph</t>",((_this select 0) getVariable "Speed")];
|
|
@@ -24,7 +26,7 @@ hint parseText format["<t color='#FF69B4'>Speed set to:%1 Kmph</t>",((_this sele
|
|
|
|
|
|
|
|
|
comment "Engage";
|
|
|
-_this addAction ["<t color='#00FF00'>Engage C.R.U.I.S.I.E Control System -------- U18</t>",
|
|
|
+_vic addAction ["<t color='#00FF00'>Engage C.R.U.I.S.I.E Control System -------- U18</t>",
|
|
|
{
|
|
|
|
|
|
(_this select 0) setvariable ["turnon",true,true];
|
|
@@ -60,7 +62,7 @@ turnon=false;
|
|
|
|
|
|
|
|
|
comment "Disenage";
|
|
|
-_this addAction ["<t color='#FFA500'>Disengage C.R.U.I.S.I.E Control System -------- U19</t>",
|
|
|
+_vic addAction ["<t color='#FFA500'>Disengage C.R.U.I.S.I.E Control System -------- U19</t>",
|
|
|
{
|
|
|
(_this select 0) setvariable ["turnon",false,true];
|
|
|
hint parseText "<t color='#FFA500'>DISENGAGING C.R.U.I.S.I.E Control System</t>";
|
|
@@ -71,7 +73,7 @@ hint parseText "<t color='#FFA500'>DRIVE DOWN</t>";
|
|
|
|
|
|
|
|
|
comment "Halt";
|
|
|
-_this addAction ["<t color='#FF0000'>Stop Driver -------- U20</t>",
|
|
|
+_vic addAction ["<t color='#FF0000'>Stop Driver -------- U20</t>",
|
|
|
{
|
|
|
(_this select 0) setvariable ["turnon",false,true];
|
|
|
hint parseText "<t color='#FF0000'>HALTING</t>";
|