Fixing dorm script bugs

This commit is contained in:
Vladislav Khorev committed 2026-07-10 15:08:38 +03:00
1 parent 07f45ad1e1
commit 7dadfd8ed8
6 files changed
+45 -32

No files matched your search

+5
View File
@@ -128,6 +128,11 @@ namespace ZL {
npcs[index]->state.targetFacingAngle = rad;
});
api.set_function("player_stop_and_rotate_to_npc",
[loc](int index) {
loc->player->stopAndRotateToTarget(index);
});
api.set_function("player_walk_to",
[loc, this_impl = impl.get()](float x, float y, float z, sol::object on_arrived) {