local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1 L0_1 = require L1_1 = "Actor/ActorCommon" L0_1(L1_1) L0_1 = require L1_1 = "Actor/Gadget/GadgetActorProxy" L0_1 = L0_1(L1_1) L1_1 = class L2_1 = "Q7224214Trigger" L3_1 = L0_1 L1_1 = L1_1(L2_1, L3_1) L1_1.defaultAlias = "Q7224214Trigger" L2_1 = require L3_1 = "Quest/Client/Q72242ClientConfig" L2_1 = L2_1(L3_1) L3_1 = L2_1.SubIDs L4_1 = L2_1.Npcs L5_1 = L2_1.Datas function L6_1(A0_2) local L1_2, L2_2 L1_2 = print L2_2 = "OnPostDataPrepare" L1_2(L2_2) end L1_1.OnPostDataPrepare = L6_1 function L6_1(A0_2) local L1_2, L2_2, L3_2, L4_2, L5_2, L6_2, L7_2 L1_2 = print L2_2 = "OnPostComponentPrepare" L1_2(L2_2) L2_2 = A0_2 L1_2 = A0_2.AddComponentTrigger L3_2 = 9.003043 L4_2 = DistType L4_2 = L4_2.EULER L5_2 = {} L5_2.x = 0 L5_2.y = 0.8 L5_2.z = 0 L6_2 = A0_2.TriggerIn L7_2 = A0_2.TriggerOut L1_2(L2_2, L3_2, L4_2, L5_2, L6_2, L7_2) end L1_1.OnPostComponentPrepare = L6_1 function L6_1(A0_2) local L1_2, L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2, L13_2, L14_2 L1_2 = print L2_2 = "TriggerIn" L1_2(L2_2) L1_2 = actorMgr L2_2 = L1_2 L1_2 = L1_2.GetActor L3_2 = "72242" L1_2 = L1_2(L2_2, L3_2) L3_2 = L1_2 L2_2 = L1_2.EnablePlayerInput L4_2 = false L2_2(L3_2, L4_2) L2_2 = actorUtils L2_2 = L2_2.GetAvatarPos L2_2 = L2_2() L3_2 = actorUtils L3_2 = L3_2.GetAvatarForward L3_2 = L3_2() L4_2 = -0.05 L5_2 = 1 L6_2 = L2_2.x L7_2 = L3_2.x L7_2 = L7_2 * L4_2 L6_2 = L6_2 + L7_2 L2_2.x = L6_2 L6_2 = L2_2.z L7_2 = L3_2.z L7_2 = L7_2 * L5_2 L6_2 = L6_2 + L7_2 L2_2.z = L6_2 L6_2 = print L7_2 = L3_2.x L8_2 = "," L9_2 = L3_2.y L10_2 = "," L11_2 = L3_2.z L7_2 = L7_2 .. L8_2 .. L9_2 .. L10_2 .. L11_2 L6_2(L7_2) L6_2 = L3_2 L7_2 = L6_2.x L7_2 = L7_2 * -0.1 L6_2.x = L7_2 L7_2 = L6_2.z L7_2 = L7_2 * -1 L6_2.z = L7_2 L8_2 = L1_2 L7_2 = L1_2.CreateQuestNpcByIdWithPos L9_2 = 7224214 L10_2 = L4_1.PaimonData L10_2 = L10_2.id L11_2 = 1 L12_2 = L2_2 L13_2 = M L13_2 = L13_2.Dir2Euler L14_2 = L6_2 L13_2, L14_2 = L13_2(L14_2) L7_2(L8_2, L9_2, L10_2, L11_2, L12_2, L13_2, L14_2) L8_2 = L1_2 L7_2 = L1_2.CallDelay L9_2 = 1 function L10_2() local L0_3, L1_3, L2_3 L0_3 = print L1_3 = "summonPaimon in trigger" L0_3(L1_3) L0_3 = L1_2 L1_3 = L0_3 L0_3 = L0_3.RequestInteraction L2_3 = L4_1.PaimonData L2_3 = L2_3.alias L0_3(L1_3, L2_3) end L7_2(L8_2, L9_2, L10_2) L8_2 = L1_2 L7_2 = L1_2.EnablePlayerInput L9_2 = true L7_2(L8_2, L9_2) L8_2 = A0_2 L7_2 = A0_2.DestroySelf L7_2(L8_2) end L1_1.TriggerIn = L6_1 function L6_1(A0_2) local L1_2, L2_2 L1_2 = print L2_2 = "TriggerOut" L1_2(L2_2) end L1_1.TriggerOut = L6_1 return L1_1