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

+2
View File
@@ -55,6 +55,8 @@ public:
// callbackName, if given, is the global Lua function name backing onArrived —
// stored in state.onArrivedCallbackName so it survives save/load (see ScriptEngine::rehydrateNamedCallback).
void setTarget(const Eigen::Vector3f& target, std::function<void()> onArrived = nullptr, std::string callbackName = "");
void stopAndRotateToTarget(int npcId);
void forceReplan();
void stopInPlace() { state.stopInPlace(); }