Added missing script for Gate Crasher mission

This commit is contained in:
EmosewaMC
2022-01-22 17:39:54 -08:00
parent 02bf5937dc
commit fa747a27db
3 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
#include "FvBounceOverWall.h"
void FvBounceOverWall::OnCollisionPhantom(Entity* self, Entity* target) {
auto missionComponent = target->GetComponent<MissionComponent>();
if (missionComponent == nullptr) return;
// We force progress here to the Gate Crasher mission due to an overlap in LOTs with the 'Shark Bite' missions.
missionComponent->ForceProgress(GateCrasherMissionId, GateCrasherMissionUid, 1);
}