For scenario creators...
Workshop link: https://reforger.armaplatform.com/workshop/66203B26A8E16BB5-SFTicketCounter
How to Use:
This mod contains two scripts: one for BLUFOR and one for OPFOR ticket counting.
Add the Logic Counter:
Place a SCR_ScenarioFrameworkLogicCounter entity in the world.
Set its Initial Count to the desired number (e.g., Count to = X).
Assign the Action Script:
In the Logic Counter, add the corresponding script to On Increase Action:
TicketCounterBlufor for BLUFOR
TicketCounterOpfor for OPFOR
Configure the Counter:
Title: Leave empty
Faction Key: Optional
Counter Name: Enter the exact name of the Logic Counter entity. The name here must match the name you assigned to the counter.
Set up a Slot Player Trigger:
Trigger Radius: 10000 (covers the entire map)
Activation Presence: Choose Any Character (affects all units) or Player (affects only players)
Activated By: Select US or USSR depending on which faction should activate the trigger
Custom Trigger Conditions:
Condition Type: SCR_CustomTriggerConditionsGeneric
Inner Condition: SCR_ScenarioFrameworkEntityDamageStateCondition
Damage State Checked: DESTROYED
Trigger Activation Mode: ONCE
When configured, every time a character dies, the counter updates and displays a popup message showing how many enemies remain until the counter triggers an end mission screen. This effectively converts it into a functioning Ticket Counter.
Check out the included Test World so you can see how everything is set up. It should be pretty simple.