Zdexby TheHolyOneZ
6,144 classes
Class

UStateNotify_Footsteps_Sound_C

: UAnimNotifyState : UObject
/Game/Ride/Audio/StateNotify/StateNotify_Footsteps_Sound.StateNotify_Footsteps_Sound_C 0x0045 (69 B) align 8 inherited 0x0030 1 scripted vtable /Game/Ride/Audio/StateNotify/StateNotify_Footsteps_Sound
0x00x0045

Members 4

OffsetSizeNameTypeFlagsDefault
0x01FootEFoot6 flagsNewEnumerator0
0x00310x03padding / unreflected
0x08LeftFootSocketNameFName7 flagsfoot_l
0x08RightFootSocketNameFName7 flagsfoot_r
0x01IsLocallyControlledbool7 flagsfalse

Functions 1

SignatureFlagsNativeParams
bool Received_NotifyBegin(USkeletalMeshComponent* MeshComp, UAnimSequenceBase* Animation, float TotalDuration, FAnimNotifyEventReference& EventReference)
Script127 statements · 4,952 bytes of bytecode
0x0000CallFunc_GetSkeletalMeshAsset_ReturnValue = MeshComp.GetSkeletalMeshAsset();0x002ACallFunc_EqualEqual_ObjectObject_ReturnValue = EqualEqual_ObjectObject(CallFunc_GetSkeletalMeshAsset_ReturnValue, /Game/Ride/Character/Mesh/SK_BoxyRider_03.SK_BoxyRider_03);0x0050if (!(CallFunc_EqualEqual_ObjectObject_ReturnValue)) goto Label_134D;0x005ECallFunc_GetSocketLocation_ReturnValue = MeshComp.GetSocketLocation(FName(Root));0x00A1CallFunc_Subtract_VectorVector_ReturnValue = Subtract_VectorVector(CallFunc_GetSocketLocation_ReturnValue, FVector(0, 0, 10));0x00DFCallFunc_Add_VectorVector_ReturnValue = Add_VectorVector(CallFunc_GetSocketLocation_ReturnValue, FVector(0, 0, 50));0x011DCallFunc_LineTraceSingleByProfile_ReturnValue = LineTraceSingleByProfile(MeshComp, CallFunc_Add_VectorVector_ReturnValue, CallFunc_Subtract_VectorVector_ReturnValue, FName(WaterBodyCollision), false, Temp_object_Variable_30, 0, CallFunc_LineTraceSingleByProfile_OutHit, true, LinearColor{1f, 0f, 0f, 1f}, LinearColor{0f, 1f, 0f, 1f}, 5f);0x01B8CallFunc_GetSurfaceType_ReturnValue = GetSurfaceType(CallFunc_LineTraceSingleByProfile_OutHit);0x01DDCallFunc_EqualEqual_ByteByte_ReturnValue = EqualEqual_ByteByte(CallFunc_GetSurfaceType_ReturnValue, 6);0x01FCif (!(CallFunc_EqualEqual_ByteByte_ReturnValue)) goto Label_092B;0x020ATemp_object_Variable_17 = /Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Footsteps_Wood.MSS_Player_Foley_Footsteps_Wood;0x021DTemp_object_Variable_18 = /Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Footsteps_Metal.MSS_Player_Foley_Footsteps_Metal;0x0230Temp_object_Variable_19 = nullptr;0x023BTemp_object_Variable_20 = nullptr;0x0246Temp_object_Variable_21 = nullptr;0x0251Temp_object_Variable_22 = nullptr;0x025CTemp_object_Variable_23 = /Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Footsteps_Water.MSS_Player_Foley_Footsteps_Water;0x026FTemp_object_Variable_24 = /Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Footsteps_Gravel.MSS_Player_Foley_Footsteps_Gravel;0x0282Temp_object_Variable_25 = /Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Footsteps_SnowShallow.MSS_Player_Foley_Footsteps_SnowShallow;0x0295Temp_object_Variable_26 = /Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Footsteps_Rock.MSS_Player_Foley_Footsteps_Rock;0x02A8Temp_object_Variable_27 = /Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Footsteps_Grass.MSS_Player_Foley_Footsteps_Grass;0x02BBTemp_object_Variable_28 = /Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Footsteps_Dirt.MSS_Player_Foley_Footsteps_Dirt;0x02CETemp_object_Variable_29 = /Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Footsteps_Rock.MSS_Player_Foley_Footsteps_Rock;0x02E1CallFunc_GetSurfaceType_ReturnValue = GetSurfaceType(CallFunc_LineTraceSingleByProfile_OutHit);0x0306Temp_byte_Variable_2 = CallFunc_GetSurfaceType_ReturnValue;0x0321CallFunc_IsValid_ReturnValue = IsValid(Switch(Temp_byte_Variable_2, 0 => Temp_object_Variable_29, 1 => Temp_object_Variable_28, 2 => Temp_object_Variable_27, 3 => Temp_object_Variable_26, 4 => Temp_object_Variable_25, 5 => Temp_object_Variable_24, 6 => Temp_object_Variable_23, 7 => Temp_object_Variable_22, 8 => Temp_object_Variable_21, 9 => Temp_object_Variable_20, 10 => Temp_object_Variable_19, 11 => Temp_object_Variable_18, 12 => Temp_object_Variable_17, default => K2Node_Select_Default));0x0411if (!(CallFunc_IsValid_ReturnValue)) goto Label_134D;0x041FCallFunc_GetOwner_ReturnValue = MeshComp.GetOwner();0x0449K2Node_DynamicCast_AsPawn = Cast<Pawn>(CallFunc_GetOwner_ReturnValue);0x046DK2Node_DynamicCast_bSuccess = Cast<1>(K2Node_DynamicCast_AsPawn);0x048ACallFunc_IsLocallyControlled_ReturnValue = K2Node_DynamicCast_AsPawn.IsLocallyControlled();0x04B8CallFunc_GetSocketLocation_ReturnValue = MeshComp.GetSocketLocation(FName(Root));0x04FBCallFunc_Add_VectorVector_ReturnValue = Add_VectorVector(CallFunc_GetSocketLocation_ReturnValue, FVector(0, 0, 50));0x0539Temp_object_Variable_15 = /Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Footsteps_ShallowWater.MSS_Player_Foley_Footsteps_ShallowWater;0x054CTemp_object_Variable_16 = /Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Footsteps_Water.MSS_Player_Foley_Footsteps_Water;0x055FBreakHitResult(CallFunc_LineTraceSingleByProfile_OutHit, 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);0x0614BreakVector(CallFunc_BreakHitResult_TraceEnd, CallFunc_BreakVector_X, CallFunc_BreakVector_Y, CallFunc_BreakVector_Z);0x0642BreakVector(CallFunc_BreakHitResult_TraceStart, CallFunc_BreakVector_X_1, CallFunc_BreakVector_Y_1, CallFunc_BreakVector_Z_1);0x0670CallFunc_Subtract_DoubleDouble_ReturnValue = Subtract_DoubleDouble(CallFunc_BreakVector_Z_1, CallFunc_BreakVector_Z);0x069ECallFunc_Divide_DoubleDouble_ReturnValue = Divide_DoubleDouble(CallFunc_Subtract_DoubleDouble_ReturnValue, 1.6);0x06CCCallFunc_Subtract_VectorVector_ReturnValue_1 = Subtract_VectorVector(CallFunc_Add_VectorVector_ReturnValue, CallFunc_BreakHitResult_ImpactPoint);0x06FACallFunc_VSize_ReturnValue = VSize(CallFunc_Subtract_VectorVector_ReturnValue_1);0x071FCallFunc_Greater_DoubleDouble_ReturnValue = Greater_DoubleDouble(CallFunc_VSize_ReturnValue, CallFunc_Divide_DoubleDouble_ReturnValue);0x0745Temp_bool_Variable = CallFunc_Greater_DoubleDouble_ReturnValue;0x0758Temp_object_Variable_32 = /Game/Ride/Audio/Attenuation/SA_Player_Footsteps.SA_Player_Footsteps;0x076BTemp_object_Variable_33 = /Game/Ride/Audio/Attenuation/SA_OverwriteTo2D.SA_OverwriteTo2D;0x077ETemp_bool_Variable_3 = CallFunc_IsLocallyControlled_ReturnValue;0x0791CallFunc_SpawnSoundAttached_ReturnValue = SpawnSoundAttached(Switch(Temp_bool_Variable, false => Temp_object_Variable_16, true => Temp_object_Variable_15, default => K2Node_Select_Default_2), MeshComp, FName(Root), FVector(0, 0, 0), FRotator(0, 0, 0), 0, false, 1f, 1f, 0f, Switch(Temp_bool_Variable_3, false => Temp_object_Variable_32, true => Temp_object_Variable_33, default => K2Node_Select_Default_4), nullptr, true);0x086BLabel_086B:0x086B/Game/Ride/Game/BPFL_ActorLibrary.Default__BPFL_ActorLibrary_C.GetCurrentLevelTag(MeshComp, MeshComp, CallFunc_GetCurrentLevelTag_LevelTag);0x08AAGameplayTagsK2Node_SwitchGameplayTag_CmpSuccess = NotEqual_TagTag(CallFunc_GetCurrentLevelTag_LevelTag, "Level.MabuttsValley");0x08DCif (!(GameplayTagsK2Node_SwitchGameplayTag_CmpSuccess)) goto Label_1038;0x08EAGameplayTagsK2Node_SwitchGameplayTag_CmpSuccess = NotEqual_TagTag(CallFunc_GetCurrentLevelTag_LevelTag, "Level.SnowLevel");0x0918if (!(GameplayTagsK2Node_SwitchGameplayTag_CmpSuccess)) goto Label_11C8;0x0926goto Label_134D;0x092BLabel_092B:0x092BTemp_byte_Variable_1 = Foot;0x0946CallFunc_GetSocketLocation_ReturnValue_1 = MeshComp.GetSocketLocation(Switch(Temp_byte_Variable_1, 0 => LeftFootSocketName, 1 => RightFootSocketName, default => K2Node_Select_Default_3));0x09B3CallFunc_Subtract_VectorVector_ReturnValue_2 = Subtract_VectorVector(CallFunc_GetSocketLocation_ReturnValue_1, FVector(0, 0, 10));0x09F1CallFunc_SphereTraceSingle_ReturnValue = SphereTraceSingle(MeshComp, CallFunc_Subtract_VectorVector_ReturnValue_2, CallFunc_Subtract_VectorVector_ReturnValue_2, 20f, 0, false, Temp_object_Variable_31, 0, CallFunc_SphereTraceSingle_OutHit, true, LinearColor{1f, 0f, 0f, 1f}, LinearColor{0f, 1f, 0f, 1f}, 5f);0x0A86if (!(CallFunc_SphereTraceSingle_ReturnValue)) goto Label_134D;0x0A94Temp_object_Variable_2 = /Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Footsteps_Wood.MSS_Player_Foley_Footsteps_Wood;0x0AA7Temp_object_Variable_3 = /Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Footsteps_Metal.MSS_Player_Foley_Footsteps_Metal;0x0ABATemp_object_Variable_4 = nullptr;0x0AC5Temp_object_Variable_5 = nullptr;0x0AD0Temp_object_Variable_6 = /Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Footsteps_SnowDeep.MSS_Player_Foley_Footsteps_SnowDeep;0x0AE3Temp_object_Variable_7 = /Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Footsteps_Ice.MSS_Player_Foley_Footsteps_Ice;0x0AF6Temp_object_Variable_8 = /Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Footsteps_Water.MSS_Player_Foley_Footsteps_Water;0x0B09Temp_object_Variable_9 = /Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Footsteps_Gravel.MSS_Player_Foley_Footsteps_Gravel;0x0B1CTemp_object_Variable_10 = /Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Footsteps_SnowShallow.MSS_Player_Foley_Footsteps_SnowShallow;0x0B2FTemp_object_Variable_11 = /Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Footsteps_Rock.MSS_Player_Foley_Footsteps_Rock;0x0B42Temp_object_Variable_12 = /Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Footsteps_Grass.MSS_Player_Foley_Footsteps_Grass;0x0B55Temp_object_Variable_13 = /Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Footsteps_Dirt.MSS_Player_Foley_Footsteps_Dirt;0x0B68Temp_object_Variable_14 = /Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Footsteps_Rock.MSS_Player_Foley_Footsteps_Rock;0x0B7BCallFunc_GetSurfaceType_ReturnValue_1 = GetSurfaceType(CallFunc_SphereTraceSingle_OutHit);0x0BA0Temp_byte_Variable = CallFunc_GetSurfaceType_ReturnValue_1;0x0BBBCallFunc_IsValid_ReturnValue_1 = IsValid(Switch(Temp_byte_Variable, 0 => Temp_object_Variable_14, 1 => Temp_object_Variable_13, 2 => Temp_object_Variable_12, 3 => Temp_object_Variable_11, 4 => Temp_object_Variable_10, 5 => Temp_object_Variable_9, 6 => Temp_object_Variable_8, 7 => Temp_object_Variable_7, 8 => Temp_object_Variable_6, 9 => Temp_object_Variable_5, 10 => Temp_object_Variable_4, 11 => Temp_object_Variable_3, 12 => Temp_object_Variable_2, default => K2Node_Select_Default_5));0x0CABif (!(CallFunc_IsValid_ReturnValue_1)) goto Label_134D;0x0CB9Temp_object_Variable = /Game/Ride/Audio/Attenuation/SA_OverwriteTo2D.SA_OverwriteTo2D;0x0CCCCallFunc_GetOwner_ReturnValue = MeshComp.GetOwner();0x0CF6K2Node_DynamicCast_AsPawn = Cast<Pawn>(CallFunc_GetOwner_ReturnValue);0x0D1AK2Node_DynamicCast_bSuccess = Cast<1>(K2Node_DynamicCast_AsPawn);0x0D37CallFunc_IsLocallyControlled_ReturnValue = K2Node_DynamicCast_AsPawn.IsLocallyControlled();0x0D65Temp_object_Variable_1 = /Game/Ride/Audio/Attenuation/SA_Player_Footsteps.SA_Player_Footsteps;0x0D78Temp_object_Variable_2 = /Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Footsteps_Wood.MSS_Player_Foley_Footsteps_Wood;0x0D8BTemp_object_Variable_3 = /Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Footsteps_Metal.MSS_Player_Foley_Footsteps_Metal;0x0D9ETemp_object_Variable_4 = nullptr;0x0DA9Temp_object_Variable_5 = nullptr;0x0DB4Temp_object_Variable_6 = /Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Footsteps_SnowDeep.MSS_Player_Foley_Footsteps_SnowDeep;0x0DC7Temp_object_Variable_7 = /Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Footsteps_Ice.MSS_Player_Foley_Footsteps_Ice;0x0DDATemp_object_Variable_8 = /Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Footsteps_Water.MSS_Player_Foley_Footsteps_Water;0x0DEDTemp_object_Variable_9 = /Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Footsteps_Gravel.MSS_Player_Foley_Footsteps_Gravel;0x0E00Temp_object_Variable_10 = /Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Footsteps_SnowShallow.MSS_Player_Foley_Footsteps_SnowShallow;0x0E13Temp_object_Variable_11 = /Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Footsteps_Rock.MSS_Player_Foley_Footsteps_Rock;0x0E26Temp_object_Variable_12 = /Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Footsteps_Grass.MSS_Player_Foley_Footsteps_Grass;0x0E39Temp_object_Variable_13 = /Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Footsteps_Dirt.MSS_Player_Foley_Footsteps_Dirt;0x0E4CTemp_object_Variable_14 = /Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Footsteps_Rock.MSS_Player_Foley_Footsteps_Rock;0x0E5FTemp_bool_Variable_1 = CallFunc_IsLocallyControlled_ReturnValue;0x0E72CallFunc_GetSurfaceType_ReturnValue_1 = GetSurfaceType(CallFunc_SphereTraceSingle_OutHit);0x0E97Temp_byte_Variable = CallFunc_GetSurfaceType_ReturnValue_1;0x0EB2CallFunc_SpawnSoundAttached_ReturnValue_1 = SpawnSoundAttached(Switch(Temp_byte_Variable, 0 => Temp_object_Variable_14, 1 => Temp_object_Variable_13, 2 => Temp_object_Variable_12, 3 => Temp_object_Variable_11, 4 => Temp_object_Variable_10, 5 => Temp_object_Variable_9, 6 => Temp_object_Variable_8, 7 => Temp_object_Variable_7, 8 => Temp_object_Variable_6, 9 => Temp_object_Variable_5, 10 => Temp_object_Variable_4, 11 => Temp_object_Variable_3, 12 => Temp_object_Variable_2, default => K2Node_Select_Default_5), MeshComp, FName(Root), FVector(0, 0, 0), FRotator(0, 0, 0), 0, false, 1f, 1f, 0f, Switch(Temp_bool_Variable_1, false => Temp_object_Variable_1, true => Temp_object_Variable, default => K2Node_Select_Default_1), nullptr, true);0x1033goto Label_086B;0x1038Label_1038:0x1038CallFunc_GetOwner_ReturnValue = MeshComp.GetOwner();0x1062K2Node_DynamicCast_AsPawn = Cast<Pawn>(CallFunc_GetOwner_ReturnValue);0x1086K2Node_DynamicCast_bSuccess = Cast<1>(K2Node_DynamicCast_AsPawn);0x10A3CallFunc_IsLocallyControlled_ReturnValue = K2Node_DynamicCast_AsPawn.IsLocallyControlled();0x10D1Temp_bool_Variable_2 = CallFunc_IsLocallyControlled_ReturnValue;0x10E4Temp_object_Variable_34 = /Game/Ride/Audio/Attenuation/SA_Player_Footsteps.SA_Player_Footsteps;0x10F7Temp_object_Variable_35 = /Game/Ride/Audio/Attenuation/SA_OverwriteTo2D.SA_OverwriteTo2D;0x110ACallFunc_SpawnSoundAttached_ReturnValue_2 = SpawnSoundAttached(/Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Clothing_Original_RideMap.MSS_Player_Foley_Clothing_Original_RideMap, MeshComp, FName(spline_03), FVector(0, 0, 0), FRotator(0, 0, 0), 0, false, 1f, 1f, 0f, Switch(Temp_bool_Variable_2, false => Temp_object_Variable_34, true => Temp_object_Variable_35, default => K2Node_Select_Default_6), nullptr, true);0x11B8Label_11B8:0x11B8ReturnValue = true;0x11C3goto Label_134D;0x11C8Label_11C8:0x11C8CallFunc_GetOwner_ReturnValue = MeshComp.GetOwner();0x11F2K2Node_DynamicCast_AsPawn = Cast<Pawn>(CallFunc_GetOwner_ReturnValue);0x1216K2Node_DynamicCast_bSuccess = Cast<1>(K2Node_DynamicCast_AsPawn);0x1233CallFunc_IsLocallyControlled_ReturnValue = K2Node_DynamicCast_AsPawn.IsLocallyControlled();0x1261Temp_bool_Variable_2 = CallFunc_IsLocallyControlled_ReturnValue;0x1274Temp_object_Variable_34 = /Game/Ride/Audio/Attenuation/SA_Player_Footsteps.SA_Player_Footsteps;0x1287Temp_object_Variable_35 = /Game/Ride/Audio/Attenuation/SA_OverwriteTo2D.SA_OverwriteTo2D;0x129ACallFunc_SpawnSoundAttached_ReturnValue_3 = SpawnSoundAttached(/Game/Ride/Audio/Metasounds/Player/Movement/Footsteps/MSS_Player_Foley_Clothing_Original_Winter.MSS_Player_Foley_Clothing_Original_Winter, MeshComp, FName(spline_03), FVector(0, 0, 0), FRotator(0, 0, 0), 0, false, 1f, 1f, 0f, Switch(Temp_bool_Variable_2, false => Temp_object_Variable_34, true => Temp_object_Variable_35, default => K2Node_Select_Default_6), nullptr, true);0x1348goto Label_11B8;0x134DLabel_134D:0x134Dreturn ReturnValue;0x1357// end of script
EventPublic0x49