Modules: UAV – Arma 2
Jump to navigation
Jump to search
Talkingtoaj (talk | contribs) |
Talkingtoaj (talk | contribs) |
||
Line 17: | Line 17: | ||
#* USMC -> Air -> MQ-9 | #* USMC -> Air -> MQ-9 | ||
# '''Unit with access''' - all linked units will have access to UAV via action. | # '''Unit with access''' - all linked units will have access to UAV via action. | ||
# '''UAV terminal''' - all linked empty (nonAI) objects serves as terminals. Units with access gets action once they are near terminals. (you can use special object 'Warfare Buildings | # '''UAV terminal''' - all linked empty (nonAI) objects serves as terminals. Units with access gets action once they are near terminals. (you can use special object 'EMPTY>>Class>>Warfare Buildings'). | ||
=== Optional parameters === | === Optional parameters === |
Revision as of 10:08, 27 March 2011
Unmanned Aerial Vehicle (UAV) module manages movement and access to aerial camera of UAV.
Initialization
Paths
Editor:
Modules (F7) > UAV
Data:
ca\modules\uav
Editor setup
Synchronize (F5) following objects to initialize the module:
- UAV manager - module manager.
- UAV - unit with parent class UAV. If more UAV's are assigned, first one is selected (and replaced by another one when first is destroyed).
- USMC -> Air -> MQ-9
- Unit with access - all linked units will have access to UAV via action.
- UAV terminal - all linked empty (nonAI) objects serves as terminals. Units with access gets action once they are near terminals. (you can use special object 'EMPTY>>Class>>Warfare Buildings').
Optional parameters
Set variables to UAV manager with desired values:
- name = <string>; - name of UAV (displayed in action menu)
- Example: BIS_uav_0 setvariable ["name","RQ-1 Predator"];
- Default value: empty string
- rules = <array>; - Rule which defines which units with have access to UAV. Can be either list of specific units or whole side.
- Example: BIS_uav_0 setvariable ["rules",[west,allied_gue_1]];
- Default value: units synchronized in editor
- areasize = <number>; - Size of terminal area (area in which custom action will be displayed)
- Example: BIS_uav_0 setvariable ["areasize",5];
- Default value: 10
To set the flying height of the UAV to, say 500, put
this flyinheight 500
in the UAV's init box