|Affected Version:||Difficulty:||Not set|
|Affected ArmA II version:||Please select...||Reproduced by another DH user:||No|
KRON_UPS_ARTILLERY_EAST_FIRE = false; "for doing Artilleries to fire on known targets position
KRON_UPS_ARTILLERY_WEST_FIRE = false; "for doing Artilleries to fire on known targets position
KRON_UPS_ARTILLERY_GUER_FIRE = false; "for doing Artilleries to fire on known targets position
Created a function for adding an artillery to ARMY
nul=[this] execvm "scripts\UPSMON\MON_artillery_add.sqf";
nul = [this,rounds,range,area,mincadence,maxcadence,bullet] EXECVM "SCRIPTS\UPSMON\MON_artillery_add.SQF";
// <- _artillery: object to attach artillery script, must be an object with gunner.
// <- (_rounds): rounds to fire each time, default 1
// <- (_range): range of artillery, default 800
// <- (_area): Dispersion area, 150m by default
// <- (_maxcadence): Cadence of fire, is random between min, default 10s
// <- (_mincadence): Minimum cadence, default 5s
// <- (_bullet): class of bullet to fire, default ARTY_Sh_81_HE
Artillery will check if known target position has a friendly squad near, if has will no fire.
If no gunner or dead, artillery will stop of fire.
How to use it:
1-Add nul=[this] execvm "scripts\UPSMON\MON_artillery_add.sqf"; to a static weapon.
2-Create a trigger for set artillery var to true KRON_UPS_ARTILLERY_EAST_FIRE = true;
Updated by Monsada over 5 years ago
- Status changed from In progress to Resolved
- % Done changed from 90 to 100