Function; GameEvent_UnListen - HWRM/KarosGraveyard GitHub Wiki

GameEvent_UnListen(<iEventID>)

Description

This function cancels the registration of a game event. Note that, if you try to run this function with a game event that hasn’t been registered with any callback function, it seems that in HWRM v1.30, the game will crash, while in HWRM v2.x, it will just generates a warning in your game log.

Arguments

  • <iEventID>: integer, the index of the game event.

Scope

Related Pages

GameEvent Variable Reference
GBX Forums - Tutorial discussion GameEvent functions how to exchange information between GameRule script and CustomCode scripts
Function Reference

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial

⚠️ **GitHub.com Fallback** ⚠️