Fixing dorm script bugs
This commit is contained in:
1 parent
07f45ad1e1
commit
7dadfd8ed8
6 files changed
+45
-32
No files matched your search
@@ -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) {
|
||||
|
||||
|
||||
Reference in new issue
Block a user