Frag Functions

ace_frag_fnc_addBlacklist

Description

Adds a round to the blacklist (will be ignored) and removes any ace_frag event handlers added to it. Once blacklisted a projectile can not be “unblacklisted.”

Parameters

Index Description Datatype(s) Default Value
0 Projectile to be blacklisted OBJECT  

Return Value

Description Datatype(s)
Was the projectile blacklisted BOOL

Example

[_projectile] call ace_frag_fnc_addBlackList

Authors

  • Jaynus
  • NouberNou
  • Lambda.Tiger

ace_frag_fnc_setClassBlacklisted

Description

Blacklist an ammo class preventing it from producing fragments and/or spall. This function will not allow you to force a projectile to produce fragments or spall. Once an ammo class has been blacklisted, it can be removed from the blacklist using this function without restarting the mission.

Parameters

Index Description Datatype(s) Default Value
0 Class name of the ammo to be blacklisted STRING  
1 Should a projectile be blacklisted from producing fragments BOOL true
2 Should a projectile be blacklisted from producing spall BOOL true

Return Value

Description Datatype(s)
Were the changes properly applied BOOL

Example

// Stop "ACE_20mm_HE" from producing spall
["ACE_20mm_HE", false, true] call ace_frag_fnc_setClassBlacklisted;

Authors

  • Lambda.Tiger