10 override protected void Setup()
12 m_bCheckWaypoint =
false;
13 RegisterWaypoint(
"Hummer2");
14 m_TutorialComponent.SetWaypointMiscImage(
"CUSTOM",
true);
16 SCR_HintManagerComponent.HideHint();
18 array<IEntity> rootItems = {};
25 SCR_CharacterInventoryStorageComponent component = SCR_CharacterInventoryStorageComponent.Cast(entity.FindComponent(SCR_CharacterInventoryStorageComponent));
30 SCR_InventoryStorageManagerComponent storageManComp = SCR_InventoryStorageManagerComponent.Cast(
m_Player.FindComponent(SCR_InventoryStorageManagerComponent));
35 storageManComp.GetAllRootItems(rootItems);
37 foreach (IEntity item : rootItems)
42 SCR_RepairSupportStationComponent repairComp = SCR_RepairSupportStationComponent.Cast(item.FindComponent(SCR_RepairSupportStationComponent));
45 component.StoreItemToQuickSlot(item, 4,
true);
47 if (!m_TutorialComponent.GetVoiceSystem().IsPlaying())
48 PlaySoundSystem(
"Repair");
50 GetGame().GetCallqueue().CallLater(PlaySoundSystem, 1000,
false,
"Repair",
false);
54 override protected bool GetIsFinished()
56 if (!m_TutorialComponent.GetVoiceSystem().IsPlaying())
58 SCR_HintManagerComponent.ShowHint(m_TutorialHintList.GetHint(m_TutorialComponent.GetStage()));
61 Vehicle hmw = m_TutorialComponent.GetHummer();
67 HitZone engineHitZone = damageManager.GetHitZoneByName(
"Engine_01");
69 return engineHitZone.GetHealth() > 598;