Working on teleports
This commit is contained in:
1 parent
b94f02bd77
commit
0ed7021e90
9 files changed
+60
-3
No files matched your search
@@ -359,6 +359,16 @@ namespace ZL
|
||||
menuManager.tutorialShowTaxiHint();
|
||||
};
|
||||
|
||||
locations["location_dorm"]->tutorialInteractiveObjectsLocked = true;
|
||||
|
||||
menuManager.tutorialUnlockInteractiveObjectsFunc = [this]()
|
||||
{
|
||||
if (locations["location_dorm"])
|
||||
{
|
||||
locations["location_dorm"]->tutorialInteractiveObjectsLocked = false;
|
||||
}
|
||||
};
|
||||
|
||||
menuManager.callTaxiFunc = [this]()
|
||||
{
|
||||
if (locations["location_dorm"])
|
||||
@@ -386,6 +396,7 @@ namespace ZL
|
||||
if (currentLocation->player) {
|
||||
currentLocation->player->position = destPos;
|
||||
currentLocation->player->setTarget(destPos);
|
||||
currentLocation->player->stopInPlace();
|
||||
currentLocation->player->facingAngle = destRotY;
|
||||
currentLocation->player->targetFacingAngle = destRotY;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user