Editing and Customization > Modding Help

[Solved] How To Obtain Match Results During & After Each Match?

<< < (3/3)

How would I go about creating whole new event hooks? It's one thing to just register a new hook, but I have no idea how to create a new hook. I was trying to peruse the code for an example, but again event hooks aren't my strong point. Got an example, tutorial, or reading material I can use? Otherwise, I'm just going to find the functions that are called and add code to the functions like I was originally doing with the OnPlayerKilled() function.

What I meant was add code snippets to each function in the game mode (such as OnTokenGrabbed) to add logging for that stuff. Its event hook cheating.


[0] Message Index

[*] Previous page

Go to full version