While it is possible to play this mission from the regular mission menu,
it is preferable to play it directly from the editor instead.
That way setup parameters and target type can be easily adjusted.
All target range objects are created dynamically via a call to the targetrange script:
nul=[] execVM "targetrange.sqf"
By default the range distances are from 50-500 meters, in 50 meter steps.
This can be changed via the parameters "min:", "max:" & "step:", as seen in the following example:
nul=["min:500","max:1000","step:100"] execVM "targetrange.sqf"
By default only a single popup target is created.
To modify the kind of targets displayed, an array has to be defined as the first argument:
e.g. nul=[["SoldierWB","M113"],"min:50","max:150"] execVM ...
Targets can be defined either by their class names (as in the example above),
or as references to objects that have already been placed on the map (the initial position of those items is irrelevant):
e.g. nul=[[man1,man2,0,0,tank1],"min:50","max:150"] execVM ...
If an array entry is just a '0', then a gap will be left at that position.
If the targets should move left and right, the following parameters have to be used:
"speed:{number}" (1=slowest, 10=fastest)
"move"{number}" (how far the targets should move)
The following example has targets move 20 meters, at a medium speed:
nul=[["SoldierWB","M113"],"speed:5","move:20"] execVM "targetrange.sqf"
Credits
2008 - Kronzky
www.kronzky.info
kronzky@gmail.com
The target range will be positioned relative to the player's position and orientation.
Via the action menu the target position can be set to a specific distance.
When targets are killed they will be re-created after 3 seconds.
Weapons are automatically reloaded, and have unlimited ammo.
The following options can be activated via the radio menu:
1.) A "bullet cam"
2.) A slow-mo mode
3.) The projectile landing spot
4.) The weapons angle, and a ballistics table