This event is fired after low-level game events take place, such as
CEventNetworkEntityDamage. A full list of
available game events can be found here.
string name, int args
- name: The game event name that was triggered. A full list can be found here.
- args: An array of integers that were passed along with the event.
This example outputs all event triggers to the console, making it easier to discover what you need:
AddEventHandler('gameEventTriggered', function (name, args) print('game event ' .. name .. ' (' .. json.encode(args) .. ')') end)