Zone Restriction Module – Arma 2

From Bohemia Interactive Community
Jump to navigation Jump to search
(Creation)
 
mNo edit summary
Line 1: Line 1:
[[Category:ArmA_2:_Editor_Modules]]
[[Category:ArmA_2:_Editor_Modules]]


'''Zone Restriction (Zora)''' module defines a kill zone around the playable one to avoid player to flee from the battlefield.
'''Zone Restriction (Zora)''' module defines a kill zone around the playable one to avoid player(s) to flee from the battlefield.
This only works for player unit.


== Initialization==
== Initialization==
Line 31: Line 32:
*'''debug = <bool>;''' - show restricted zone by markers on map
*'''debug = <bool>;''' - show restricted zone by markers on map
::Example: ''Zora_Module setvariable ["debug", true];''
::Example: ''Zora_Module setvariable ["debug", true];''
::Default value: 1000m
::Default value: false
 
Set global variables with desired values:
 
*'''BIS_Zora_Pause = <bool>;''' - pause the detection
::Example: ''BIS_Zora_Pause = true;''
::Default value: false

Revision as of 18:29, 3 November 2009


Zone Restriction (Zora) module defines a kill zone around the playable one to avoid player(s) to flee from the battlefield. This only works for player unit.

Initialization

Paths

Editor:

Modules (F7) > Zone Restriction

Data:

ca\modules\zora

Editor setup

  1. Insert sensor(s) named BIS_Zora_x - x as a number, starting from 0, numbers must follow, e.g BIS_Zora_0, BIS_Zora_1, etc.

The sensors are used to define the combat area.

Optional parameters

Set variables to Zone Restriction mudule with desired values:

  • bordersize = <number>; - set the maximum distance in meters of combat area
Example: Zora_Module setvariable ["bordersize", 250];
Default value: 1000m
  • factionlist = <array>; -
Example: Zora_Module setvariable ["factionlist", ["GUE"]];
Default value: ["GUE"]
  • maxgroups = <number>; -
Example: Zora_Module setvariable ["maxgroups", 8];
Default value: 3
  • debug = <bool>; - show restricted zone by markers on map
Example: Zora_Module setvariable ["debug", true];
Default value: false

Set global variables with desired values:

  • BIS_Zora_Pause = <bool>; - pause the detection
Example: BIS_Zora_Pause = true;
Default value: false