ATHENE Core

by Tripot__

Contributors

Tripot__

ATHENE Core

Summary

Implements a global one-time gate for actions: only visible to allowed faction, once completed it is consumed globally and hidden for all players, ensuring synchronized unique scenario events.

Description

These scripts implement a global one-time “gate” system for user actions in Arma Reforger’s Scenario Framework.
ATHENE_GlobalActionGateComponent
A component that tracks whether an action has already been consumed. It replicates the m_bConsumed state across server and clients. The server has authority: once consumed, the state is marked true and replicated so all clients know the action is no longer available.
ATHENE_FactionGatedUserAction
A user action that is visible and executable only if two conditions are met:
The player belongs to the allowed faction (checked via faction key).
The global gate is still open (not consumed yet).
Importantly, this script does not consume the gate itself—it just enforces visibility and usability.
ATHENE_ScenarioFrameworkActionConsumeGate
A Scenario Framework action that actually consumes the gate. It’s triggered after the user action has been successfully completed through a Scenario Framework event. The gate is then marked as consumed (locally or via RPC to the server), ensuring the action cannot be repeated globally.
Overall goal:
Together, these scripts allow designers to create one-time, faction-restricted actions in a mission or scenario. Once any player of the correct faction completes the action, it disappears for everyone else, ensuring global uniqueness and synchronized gameplay logic.
This system is useful for things like “capture the radio station once,” “open the bunker only once,” or other events that should be available to a specific side and globally locked once used.

License

Arma Public License (APL)

Version
0.1.9
Game Version
1.6.0.68
Version size
47.86 MB
Downloads
10
Created
04.09.2025
Last Modified
16.11.2025
ID
6636C5AD10051489

Dependencies