Skip to content

Perondas/arsr.VR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

arsr.VR

An Arma3 artillery sound ranging script

Variables

It is possible to set variables on units and vehicles to mark them for a specific side or overrule the general settings.

It is important that the variables are set for the server, as all calculation and checking is done on it, that is why the synchronisation flag (third option of setVariable) is set to true in the examples.

arsr_receptionAllowed

Boolean

Sets the player unit as sound data receiver. Enables the player to see the markers on map regarding the sound ranging. Only player units are supported, no AI units or vehicles. Default this variable is regarded as false.

player setVariable ["arsr_receptionAllowed", true, true];

arsr_enabled

Boolean

Variable on a listening vehicle to enable or disable its active listening capabillity. If not set, it is assumed the vehicle is listening and the variable value is true.

_listener setVariable ["arsr_enabled", false, true];

arsr_listenerCalcDelay

Positive Number or 0

Variable on a listening vehicle to overrule the "Addon Options" value for the "Time to calculate for listener" setting.

_listener setVariable ["arsr_listenerCalcDelay", 0, true];

arsr_listenerAccuracy

Positive Number or 0

Variable on a listening vehicle to overrule the "Addon Options" value for the "Listener accuracy" setting.

_listener setVariable ["arsr_listenerAccuracy", 0, true];

arsr_listenerMaxDistance

Number

Variable on a listening vehicle to overrule the "Addon Options" value for the "Listener max listening distance" setting.

_listener setVariable ["arsr_listenerMaxDistance", 0, true];

arsr_side

Group Side

Variable on a listening vehicle to set it which side it belongs to and ignores artillery fire from that side. If not set, it will pick up and report fire from any artilllery piece from any side.

_listener setVariable ["arsr_side", blufor, true];

About

An Arma3 artillery sound ranging script

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published