From 4942655ff82dd581042af239072fc6ba807fe283 Mon Sep 17 00:00:00 2001 From: Isaac0-dev <62234577+Isaac0-dev@users.noreply.github.com> Date: Wed, 14 Sep 2022 07:42:53 +1000 Subject: [PATCH] document HOOK_ON_CHANGE_CAMERA_ANGLE (#185) --- docs/lua/guides/hooks.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/lua/guides/hooks.md b/docs/lua/guides/hooks.md index dd39d399..2d50ca50 100644 --- a/docs/lua/guides/hooks.md +++ b/docs/lua/guides/hooks.md @@ -110,6 +110,7 @@ The lua functions sent to `hook_event()` will be automatically called by SM64 wh | HOOK_ON_DEATH | Called when the local player dies, return `false` to prevent normal death sequence | [MarioState](structs.md#MarioState) localMario | | HOOK_ON_PACKET_RECEIVE | Called when the mod receives a packet that used `network_send()` or `network_send_to()` | `table` dataTable | | HOOK_USE_ACT_SELECT | Called when the level changes, return `true` to show act selection screen and `false` otherwise | `integer` levelNum | +| HOOK_ON_CHANGE_CAMERA_ANGLE | Called when the player changes the camera mode to Lakitu cam or Mario cam, return `false` to prevent the change. | `integer` mode | ### Parameters