Tryteyker-
The function calls on the scripted eventhandler (see BIS_fnc_addScriptedEventHandler) "dominantSideChanged" everytime a sector changes dominant side (this again depending on the value given to the function).
Results appear below as you type; use the arrow keys to move through them.
Function that handles bleeding ticket system. Tickets are set beforehand using BIS_fnc_respawnTickets.
[sides, dominanceRatio, bleedingAmount, bleedingDelay] call BIS_fnc_bleedTickets
Parameters:
sides: Array - (Optional, default All sides) array of effected sidesdominanceRatio: Number - (Optional, default 0.5) dominance ratio, values from 0 to 1. Determines how much of a sector a side must hold for bleeding tickets to startbleedingAmount: Number - (Optional, default 3) amount of tickets bled every step. Optional parameterbleedingDelay: Object - (Optional, default 5) delay in seconds between every bleeding stepReturns: Boolean
call BIS_fnc_bleedTickets;
[[west, east], 1, 1, 10] call BIS_fnc_bleedTickets;
Server-side execution only.
BIS_fnc_addScriptedEventHandler · BIS_fnc_respawnTickets
The function calls on the scripted eventhandler (see BIS_fnc_addScriptedEventHandler) "dominantSideChanged" everytime a sector changes dominant side (this again depending on the value given to the function).