RadiantConnect: MenuEvents
MenuEvents allows developers to react to in-game menu navigation events. By subscribing to these events, you can track when the player opens various screens such as Battle Pass, Agents, Career, or the Store.
Overview
Access menu events through initiator.GameEvents (or your MenuEvents instance). Each event is triggered when a specific in-game menu is opened. Event data is typically null, as the event itself signals the screen change.
Danger
The events only work while the valorant game is in focus, being tabbed out will not work.
Events
OnBattlePassView
Description: Triggered when the Battle Pass screen is opened.
Event Data: object? — always null.
OnAgentsView
Description: Triggered when the Agents/Characters screen is opened.
Event Data: object? — always null.
OnCareerView
Description: Triggered when the Career/Match History screen is opened.
Event Data: object? — always null.
OnPlayScreen
Description: Triggered when the Play screen is opened.
Event Data: object? — always null.
OnEsportView
Description: Triggered when the Esports/Main Events screen is opened.
Event Data: object? — always null.
OnCollectionView
Description: Triggered when the Collection screen is opened.
Event Data: object? — always null.
OnStoreView
Description: Triggered when the Store screen is opened.
Event Data: object? — always null.
OnPremierView
Description: Triggered when the Premier/Tournament screen is opened.
Event Data: object? — always null.
Handling Events
Subscribe to menu events like this:
| C# | |
|---|---|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | |