void CanUnlock(TArray<AActor*>& Array, UUWEBaseLockComponent* TargetLock, const bool& CanUnlock?)Script30 statements · 531 bytes of bytecode0x0000PushFlow(Label_0210);0x0005AllPlayersInLockPass = true;0x0010Temp_int_Loop_Counter_Variable = 0;0x0027Temp_int_Array_Index_Variable = 0;0x003ELabel_003E:0x003ECallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(Array);0x0079CallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue);0x009Fif (!(CallFunc_Less_IntInt_ReturnValue)) goto Label_01A2;0x00ADTemp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable;0x00C8PushFlow(Label_01BA);0x00CD/Script/Engine.Default__KismetArrayLibrary.Array_Get(Array, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x0108K2Node_DynamicCast_AsPawn = Cast<Pawn>(CallFunc_Array_Get_Item);0x012CK2Node_DynamicCast_bSuccess = Cast<1>(K2Node_DynamicCast_AsPawn);0x0149if (!(K2Node_DynamicCast_bSuccess)) PopFlow();0x0153CallFunc_CanUnlock_ReturnValue = TargetLock.CanUnlock(CallFunc_CanUnlock_Reason, K2Node_DynamicCast_AsPawn);0x0193if (!(CallFunc_CanUnlock_ReturnValue)) goto Label_0204;0x01A1PopFlow();0x01A2Label_01A2:0x01A2CanUnlock? = AllPlayersInLockPass;0x01B5goto Label_0210;0x01BALabel_01BA:0x01BACallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x01E4Temp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x01FFgoto Label_003E;0x0204Label_0204:0x0204AllPlayersInLockPass = false;0x020FPopFlow();0x0210Label_0210:0x0210return; | Public | | 0x19 |
void AreAnyPlayersInside(const bool& AnyPlayers, TArray<AActor*>& OutActors)Script10 statements · 290 bytes of bytecode0x0000K2Node_MakeArray_Array = {2};0x000DCallFunc_K2_GetComponentToWorld_ReturnValue = ScanArea.K2_GetComponentToWorld();0x003FCallFunc_ComponentOverlapActors_OutActors = {};0x004ACallFunc_ComponentOverlapActors_ReturnValue = ComponentOverlapActors(ScanArea, CallFunc_K2_GetComponentToWorld_ReturnValue, K2Node_MakeArray_Array, /Script/Subnautica2.SN2PlayerCharacter, Temp_object_Variable, CallFunc_ComponentOverlapActors_OutActors);0x0094CallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(CallFunc_ComponentOverlapActors_OutActors);0x00CFCallFunc_Greater_IntInt_ReturnValue = Greater_IntInt(CallFunc_Array_Length_ReturnValue, 0);0x00F1AnyPlayers = CallFunc_Greater_IntInt_ReturnValue;0x0104OutActors = CallFunc_ComponentOverlapActors_OutActors;0x011Freturn; | Public | | 0x18 |
void UnlockStoryGoalForPlayers(const TSoftObjectPtr<UUWEStoryGoal>& StoryGoal)Script31 statements · 757 bytes of bytecode0x0000PushFlow(Label_02F2);0x0005CallFunc_LoadAsset_Blocking_ReturnValue = LoadAsset_Blocking(StoryGoal);0x0022K2Node_DynamicCast_AsUWEStory_Goal = Cast<UWEStoryGoal>(CallFunc_LoadAsset_Blocking_ReturnValue);0x0046K2Node_DynamicCast_bSuccess = Cast<1>(K2Node_DynamicCast_AsUWEStory_Goal);0x0063if (!(K2Node_DynamicCast_bSuccess)) PopFlow();0x006DK2Node_MakeArray_Array = {2};0x007ACallFunc_K2_GetComponentToWorld_ReturnValue = ScanArea.K2_GetComponentToWorld();0x00ACCallFunc_ComponentOverlapActors_OutActors = {};0x00B7CallFunc_ComponentOverlapActors_ReturnValue = ComponentOverlapActors(ScanArea, CallFunc_K2_GetComponentToWorld_ReturnValue, K2Node_MakeArray_Array, /Script/Subnautica2.SN2PlayerCharacter, Temp_object_Variable, CallFunc_ComponentOverlapActors_OutActors);0x0101Temp_int_Loop_Counter_Variable = 0;0x0118Temp_int_Array_Index_Variable = 0;0x012FLabel_012F:0x012FCallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(CallFunc_ComponentOverlapActors_OutActors);0x016ACallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue);0x0190if (!(CallFunc_Less_IntInt_ReturnValue)) PopFlow();0x019ATemp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable;0x01B5PushFlow(Label_02A8);0x01BA/Script/Engine.Default__KismetArrayLibrary.Array_Get(CallFunc_ComponentOverlapActors_OutActors, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x01F5K2Node_DynamicCast_AsBP_SN2Player_Character = Cast<BP_SN2PlayerCharacter_C>(CallFunc_Array_Get_Item);0x0219K2Node_DynamicCast_bSuccess_1 = Cast<1>(K2Node_DynamicCast_AsBP_SN2Player_Character);0x0236if (!(K2Node_DynamicCast_bSuccess_1)) PopFlow();0x0240CallFunc_GetWorldSubsystem_ReturnValue = GetWorldSubsystem(this, /Script/UWEStoryGoals.UWEStoryGoalsWorldSubsystem);0x025ECallFunc_GetWorldSubsystem_ReturnValue.UnlockStoryGoal(K2Node_DynamicCast_AsUWEStory_Goal, K2Node_DynamicCast_AsBP_SN2Player_Character.PlayerState, false);0x02A7PopFlow();0x02A8Label_02A8:0x02A8CallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x02D2Temp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x02EDgoto Label_012F;0x02F2Label_02F2:0x02F2return; | Public | | 0x28 |
void CheckAnyMaladaptedPlayers(const bool& AnyMaladapted)Script33 statements · 752 bytes of bytecode0x0000PushFlow(Label_02ED);0x0005K2Node_MakeArray_Array = {2};0x0012CallFunc_K2_GetComponentToWorld_ReturnValue = ScanArea.K2_GetComponentToWorld();0x0044CallFunc_ComponentOverlapActors_OutActors = {};0x004FCallFunc_ComponentOverlapActors_ReturnValue = ComponentOverlapActors(ScanArea, CallFunc_K2_GetComponentToWorld_ReturnValue, K2Node_MakeArray_Array, /Script/Subnautica2.SN2PlayerCharacter, Temp_object_Variable, CallFunc_ComponentOverlapActors_OutActors);0x0099Temp_int_Loop_Counter_Variable = 0;0x00B0Temp_int_Array_Index_Variable = 0;0x00C7Label_00C7:0x00C7CallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(CallFunc_ComponentOverlapActors_OutActors);0x0102CallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue);0x0128if (!(CallFunc_Less_IntInt_ReturnValue)) goto Label_0293;0x0136Temp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable;0x0151PushFlow(Label_02A3);0x0156/Script/Engine.Default__KismetArrayLibrary.Array_Get(CallFunc_ComponentOverlapActors_OutActors, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x0191CallFunc_GetUWEAbilitySystemComponentFromActor_ReturnValue = GetUWEAbilitySystemComponentFromActor(CallFunc_Array_Get_Item, true);0x01AFCallFunc_IsValid_ReturnValue = IsValid(CallFunc_GetUWEAbilitySystemComponentFromActor_ReturnValue);0x01CCif (!(CallFunc_IsValid_ReturnValue)) PopFlow();0x01D6/Script/Engine.Default__KismetArrayLibrary.Array_Get(CallFunc_ComponentOverlapActors_OutActors, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x0211CallFunc_GetUWEAbilitySystemComponentFromActor_ReturnValue = GetUWEAbilitySystemComponentFromActor(CallFunc_Array_Get_Item, true);0x022FCallFunc_HasMatchingGameplayTag_ReturnValue = CallFunc_GetUWEAbilitySystemComponentFromActor_ReturnValue.HasMatchingGameplayTag(GameplayTag{FName(Adaptations.Missing.Breathing)});0x0279if (!(CallFunc_HasMatchingGameplayTag_ReturnValue)) PopFlow();0x0283AnyMaladapted = true;0x028Egoto Label_02ED;0x0293Label_0293:0x0293AnyMaladapted = false;0x029Egoto Label_02ED;0x02A3Label_02A3:0x02A3CallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x02CDTemp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x02E8goto Label_00C7;0x02EDLabel_02ED:0x02EDreturn; | Public | | 0x01 |
FInteractionInfo GetInteractionInfo(AActor* HoverActor, AActor* ForActor, UPrimitiveComponent* HoverComponent, const FHitResult& HitResult)Script10 statements · 693 bytes of bytecode0x0000BreakHitResult(HitResult, CallFunc_BreakHitResult_bBlockingHit, CallFunc_BreakHitResult_bInitialOverlap, CallFunc_BreakHitResult_Time, CallFunc_BreakHitResult_Distance, CallFunc_BreakHitResult_Location, CallFunc_BreakHitResult_ImpactPoint, CallFunc_BreakHitResult_Normal, CallFunc_BreakHitResult_ImpactNormal, CallFunc_BreakHitResult_PhysMat, CallFunc_BreakHitResult_HitActor, CallFunc_BreakHitResult_HitComponent, CallFunc_BreakHitResult_HitBoneName, CallFunc_BreakHitResult_BoneName, CallFunc_BreakHitResult_HitItem, CallFunc_BreakHitResult_ElementIndex, CallFunc_BreakHitResult_FaceIndex, CallFunc_BreakHitResult_TraceStart, CallFunc_BreakHitResult_TraceEnd);0x00B5CallFunc_IsInteractDisabled_ReturnValue = IsInteractDisabled(HoverActor, ForActor, CallFunc_BreakHitResult_Distance, HoverComponent, HitResult);0x00FAif (!(CallFunc_IsInteractDisabled_ReturnValue)) goto Label_010D;0x0108goto Label_02AA;0x010DLabel_010D:0x010DCallFunc_GetInteractionInfo_ReturnValue = GetInteractionInfo(nullptr, nullptr, nullptr, HitResult{0, 1f, 0f, Vector_NetQuantize{0, 0, 0}, Vector_NetQuantize{0, 0, 0}, Vector_NetQuantizeNormal{0, 0, 0}, Vector_NetQuantizeNormal{0, 0, 0}, Vector_NetQuantize{0, 0, 0}, Vector_NetQuantize{0, 0, 0}, 0f, -1, 0, 0, false, false, nullptr, ActorInstanceHandle{nullptr}, nullptr, FName(None), FName(None)});0x028FReturnValue = CallFunc_GetInteractionInfo_ReturnValue;0x02AALabel_02AA:0x02AAreturn ReturnValue; | EventPublic | | 0x150 |
void GetRemainingScanTime(const double& ScanTime)Script8 statements · 235 bytes of bytecode0x0000CallFunc_GetTimeSeconds_ReturnValue = GetTimeSeconds(this);0x001DCallFunc_Subtract_DoubleDouble_B_ImplicitCast = Cast<4>(TimeLastTriggered);0x003ACallFunc_Subtract_DoubleDouble_ReturnValue = Subtract_DoubleDouble(CallFunc_GetTimeSeconds_ReturnValue, CallFunc_Subtract_DoubleDouble_B_ImplicitCast);0x0068CallFunc_Subtract_DoubleDouble_ReturnValue_1 = Subtract_DoubleDouble(ScanTime, CallFunc_Subtract_DoubleDouble_ReturnValue);0x0096CallFunc_FClamp_ReturnValue = FClamp(CallFunc_Subtract_DoubleDouble_ReturnValue_1, 0, ScanTime);0x00CDScanTime = CallFunc_FClamp_ReturnValue;0x00E8return; | Public | | 0x08 |
void ReceiveBeginPlay()Script3 statements · 18 bytes of bytecode0x0000ExecuteUbergraph_BP_ScanningButton(1247);0x000Freturn; | EventProtected | | 0x00 |
void OnTimeLastTriggeredChanged_Event()Script3 statements · 18 bytes of bytecode0x0000ExecuteUbergraph_BP_ScanningButton(1335);0x000Freturn; | | | 0x00 |
void EvaluateAndTrigger()Script3 statements · 18 bytes of bytecode0x0000ExecuteUbergraph_BP_ScanningButton(1340);0x000Freturn; | | | 0x00 |
void PlayRejected()Script3 statements · 18 bytes of bytecode0x0000ExecuteUbergraph_BP_ScanningButton(1881);0x000Freturn; | | | 0x00 |
void PlayApproved()Script3 statements · 18 bytes of bytecode0x0000ExecuteUbergraph_BP_ScanningButton(2018);0x000Freturn; | | | 0x00 |
void BndEvt__BP_ScanningButton_ScanArea_K2Node_ComponentBoundEvent_0_ComponentBeginOverlapSignature__DelegateSignature(UPrimitiveComponent* OverlappedComponent, AActor* OtherActor, UPrimitiveComponent* OtherComp, int32 OtherBodyIndex, bool bFromSweep, FHitResult& SweepResult)Script9 statements · 126 bytes of bytecode0x0000PersistentFrame.K2Node_ComponentBoundEvent_OverlappedComponent = OverlappedComponent;0x0012PersistentFrame.K2Node_ComponentBoundEvent_OtherActor = OtherActor;0x0024PersistentFrame.K2Node_ComponentBoundEvent_OtherComp = OtherComp;0x0036PersistentFrame.K2Node_ComponentBoundEvent_OtherBodyIndex = OtherBodyIndex;0x0048PersistentFrame.K2Node_ComponentBoundEvent_bFromSweep = bFromSweep;0x005APersistentFrame.K2Node_ComponentBoundEvent_SweepResult = SweepResult;0x006CExecuteUbergraph_BP_ScanningButton(2075);0x007Breturn; | | | 0x120 |
void ExecuteUbergraph_BP_ScanningButton(int32 EntryPoint)Script91 statements · 2,083 bytes of bytecode0x0000PushFlow(Label_0820);0x0005goto [EntryPoint];0x000FK2Node_DynamicCast_AsWBP_Sliding_Door_Deep_Start_Progress.HideWidget();0x0033PopFlow();0x0034/Script/Engine.Default__KismetArrayLibrary.Array_Get(CallFunc_AreAnyPlayersInside_OutActors, 0, CallFunc_Array_Get_Item);0x006BK2Node_DynamicCast_AsPawn = Cast<Pawn>(CallFunc_Array_Get_Item);0x008FK2Node_DynamicCast_bSuccess_1 = Cast<1>(K2Node_DynamicCast_AsPawn);0x00ACExitDoor.UnlockAndOpen(K2Node_DynamicCast_AsPawn);0x00D5PlayApproved();0x00E3UnlockStoryGoalForPlayers(SoftObject("/Game/Data/Narrative/Dialogue/Chapter_1/Biolock/DA_Storygoal_Player_Ch1_BiolockApproved.DA_Storygoal_Player_Ch1_BiolockApproved"));0x0173PopFlow();0x0174Label_0174:0x0174PushFlow(Label_01DB);0x0179/Script/Engine.Default__KismetArrayLibrary.Array_Get(CallFunc_AreAnyPlayersInside_OutActors_1, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item_1);0x01B4CallFunc_PlayDialogueForPlayer_ReturnValue = PlayDialogueForPlayer(/Game/Data/Narrative/Dialogue/Chapter_1/Biolock/DA_Dialogue_Story_Ch1_BiolockRejected.DA_Dialogue_Story_Ch1_BiolockRejected, CallFunc_Array_Get_Item_1);0x01DAPopFlow();0x01DBLabel_01DB:0x01DBCallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x0205Temp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x0220Label_0220:0x0220CallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(CallFunc_AreAnyPlayersInside_OutActors_1);0x025BCallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue);0x0281if (!(CallFunc_Less_IntInt_ReturnValue)) PopFlow();0x028BTemp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable;0x02A6goto Label_0174;0x02ABLabel_02AB:0x02ABTemp_int_Array_Index_Variable = 0;0x02C2goto Label_0220;0x02C7Label_02C7:0x02C7CallFunc_HasAuthority_ReturnValue = HasAuthority();0x02DBif (!(CallFunc_HasAuthority_ReturnValue)) PopFlow();0x02E5CheckAnyMaladaptedPlayers(CallFunc_CheckAnyMaladaptedPlayers_AnyMaladapted_1);0x02FCif (!(CallFunc_CheckAnyMaladaptedPlayers_AnyMaladapted_1)) PopFlow();0x0306ExitDoor.ForceCloseAndLock();0x0326PopFlow();0x0327Label_0327:0x0327CallFunc_HasAuthority_ReturnValue_1 = HasAuthority();0x033Bif (!(CallFunc_HasAuthority_ReturnValue_1)) PopFlow();0x0345AreAnyPlayersInside(CallFunc_AreAnyPlayersInside_AnyPlayers_1, CallFunc_AreAnyPlayersInside_OutActors_1);0x0365Temp_int_Loop_Counter_Variable = 0;0x037Cgoto Label_02AB;0x0381Label_0381:0x0381GetRemainingScanTime(CallFunc_GetRemainingScanTime_ScanTime);0x0398CallFunc_Delay_Duration_ImplicitCast = Cast<3>(CallFunc_GetRemainingScanTime_ScanTime);0x03B5Delay(this, CallFunc_Delay_Duration_ImplicitCast, LatentActionInfo{0xF, -1963375673, FName(ExecuteUbergraph_BP_ScanningButton), this});0x03EFPopFlow();0x03F0Label_03F0:0x03F0CallFunc_GetWidget_ReturnValue = Widget.GetWidget();0x041EK2Node_DynamicCast_AsWBP_Sliding_Door_Deep_Start_Progress = Cast<WBP_SlidingDoor_DeepStart_Progress_C>(CallFunc_GetWidget_ReturnValue);0x0442K2Node_DynamicCast_bSuccess = Cast<1>(K2Node_DynamicCast_AsWBP_Sliding_Door_Deep_Start_Progress);0x045Fif (!(K2Node_DynamicCast_bSuccess)) PopFlow();0x0469GetRemainingScanTime(CallFunc_GetRemainingScanTime_ScanTime);0x0480K2Node_DynamicCast_AsWBP_Sliding_Door_Deep_Start_Progress.ShowWidget(CallFunc_GetRemainingScanTime_ScanTime);0x04ADBioScanAirlock.AnimateScanner(Locked);0x04DAgoto Label_0381;0x04DFK2Node_CreateDelegate_OutputDelegate.Bind(this, OnTimeLastTriggeredChanged_Event);0x04F6OnTimeLastTriggeredChanged += K2Node_CreateDelegate_OutputDelegate;0x0509BioScanAirlock.UpdateLockedMaterials(Powered);0x0536PopFlow();0x0537goto Label_03F0;0x053CCallFunc_HasAuthority_ReturnValue_2 = HasAuthority();0x0550if (!(CallFunc_HasAuthority_ReturnValue_2)) PopFlow();0x055AAreAnyPlayersInside(CallFunc_AreAnyPlayersInside_AnyPlayers, CallFunc_AreAnyPlayersInside_OutActors);0x057Aif (!(CallFunc_AreAnyPlayersInside_AnyPlayers)) PopFlow();0x0584CheckAnyMaladaptedPlayers(CallFunc_CheckAnyMaladaptedPlayers_AnyMaladapted);0x059Bif (!(CallFunc_CheckAnyMaladaptedPlayers_AnyMaladapted)) goto Label_0648;0x05A9Label_05A9:0x05A9PlayRejected();0x05B7UnlockStoryGoalForPlayers(SoftObject("/Game/Data/Narrative/Dialogue/Chapter_1/Biolock/DA_Storygoal_Player_Ch1_BiolockRejected.DA_Storygoal_Player_Ch1_BiolockRejected"));0x0647PopFlow();0x0648Label_0648:0x0648CallFunc_Array_IsNotEmpty_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_IsNotEmpty(CallFunc_AreAnyPlayersInside_OutActors);0x067Bif (!(CallFunc_Array_IsNotEmpty_ReturnValue)) goto Label_05A9;0x0689CanUnlock(CallFunc_AreAnyPlayersInside_OutActors, ExitDoor.LockComponent, CallFunc_CanUnlock_CanUnlock_);0x06C8if (!(CallFunc_CanUnlock_CanUnlock_)) goto Label_05A9;0x06D6CallFunc_GetTransform_ReturnValue_1 = GetTransform();0x06F2CallFunc_PlayEventAtLocation_ReturnValue_1 = PlayEventAtLocation(this, /Game/FMOD/Events/sfx/environment/env_emitters/deep_start/biomod_scan_approved.biomod_scan_approved, CallFunc_GetTransform_ReturnValue_1, true);0x0722Delay(this, 1.25f, LatentActionInfo{0x34, -1897299980, FName(ExecuteUbergraph_BP_ScanningButton), this});0x0758PopFlow();0x0759CallFunc_GetTransform_ReturnValue = GetTransform();0x0775CallFunc_PlayEventAtLocation_ReturnValue = PlayEventAtLocation(this, /Game/FMOD/Events/sfx/environment/env_emitters/deep_start/biomod_scan_alarm_3D.biomod_scan_alarm_3D, CallFunc_GetTransform_ReturnValue, true);0x07A5Locked = true;0x07B0BioScanAirlock.UpdateLockedMaterials(Locked);0x07DDgoto Label_0327;0x07E2Locked = false;0x07EDBioScanAirlock.UpdateLockedMaterials(Locked);0x081APopFlow();0x081Bgoto Label_02C7;0x0820Label_0820:0x0820return; | Final | | 0x04 |