This script simulates blanks by deleting the bullets via an EH when a unit fires. This fancy code is not mine, but a pall 've asked me to write a script where he is able to switch blanks on and off per group multiple times.
He is using it in a mission where a group got attacked during a chopper extraction and the problem was that the men had no chance because the chopper was destroyed before the men could embark. He could set him captive, but with the blanks there is still some action, but without friendly casualties.
So , the idea behind it is a bit cheating, but sometimes it could be hard to control the situation...I use it sometimes in action cutscenes...
With the script you can select which or when a group uses blanks or not via it's own bolean.
Execute the script like this :
[name of the group, index] exec "blanks.sqs"
eg : [grp1,1] exec "blanks.sqs"
The index number is needed so only one script can be be used for several groups. The boleanname got changed in the script by adding the index number to it, so every group has it's own unique bolean to switch blanks on and off.
The bolean is Blanks_on
Some examples...
When index is 1, bolean to switch blanks on for that group:
Blanks_on1 = true
When index is 3, bolean to switch blanks off for that group :
Blanks_on3 = false
Try the testmision, no addons needed
Thanks to Zig for some help with some call format stuff.