Cross Shot
-
Content Count
3 -
Joined
-
Last visited
-
Medals
Posts posted by Cross Shot
-
-
Hi I'm new here and I'm attempting to make a script that allows people of a certain group to repair and refuel vehicles, I've tried using the or operator but that doesn't seem to help, this is what i have so far
setup.sqs _vehicle = _this select 0; _player = player; #distcheck ?((_player distance _vehicle)<10): goto "actionadd" goto "distcheck" #actionadd ?(_player == engineer1):actionID = _vehicle addAction["Repair/Refuel","scripts\repair.sqf"]
where the ?(_player == engineer1) is, is where I'm trying to check it against multiple objects, I'm not sure if i can check through an array or not, any help would be greatly appreciated.
-
hi I'm new here and I'm attempting to make a script that allows people of a certain group to repair and refuel vehicles, I've tried using the or operator but that doesn't seem to help, this is what i have so far
setup.sqs _vehicle = _this select 0; _player = player; #distcheck ?((_player distance _vehicle)<10): goto "actionadd" goto "distcheck" #actionadd ?(_player == engineer1):actionID = _vehicle addAction["Repair/Refuel","scripts\repair.sqf"]
where the ?(_player == engineer1) is, is where I'm trying to check it against multiple objects, I'm not sure if i can check through an array or not, any help would be greatly appreciated.
High Command Module
in ARMA 2 & OA : MISSIONS - Editing & Scripting
Posted
Help? i'm doing exactly whats said i syncing a company command to the High command - commander module while platoon leader to a subordinate module, then a second commander module to the platoon leader and sync it up with a second subordinate module for the squad leaders. but for what ever reason the game refuses to recognize that i put a subordinate module in there and lets the company commander command all groups instead of just the platoon leaders