//======================================================================================================================== // IsaakPostM10.u2s // AI script for Isaak before Avalon //======================================================================================================================== :ScriptStart //debugmode 11 inert 1 setmovespeed 0.25 ontrigger PostM01PlayerEnteredWorkshop gotolabel HeyThere 1 directionalpatrol 1 gotoactor PathNode88 directionalpatrol 0 sleep :HeyThere turntoactor Player dialoginitiate Player IsaakPostMXXGreeting2 sleep 0.1 gotolabel SmallTalk //======================================================================================================================== // Loadout //======================================================================================================================== // Loadout Stages //------------------------------------------------------------------------------------------------------------------------ :SmallTalk call DisableAllTopics dialogenable IsaakPostM10Smalltalk handlergroup ontrigger dlgIsaakPostM10Loadout gotolabel InitiateLoadout ontrigger dlgIsaakPostM10NoLoadout gotolabel LoadoutStandby ontrigger DialogAbortEnd gotolabel LoadoutStandby handlergroupend sleep :InitiateLoadout sleep 0.2 handlergroup ontrigger dlgIsaakPostM10LoadoutOver gotolabel LoadoutStandby ontrigger DialogAbortEnd gotolabel LoadoutStandbyCleanup handlergroupend call LoadoutActions call DisableAllTopics dialogenable IsaakPostM10Loadout // ### enable topic ### dialoginitiate Player IsaakPostM10Loadout sleep :LoadoutStandby directionalpatrol 1 gotoactor PathNode88 directionalpatrol 0 call LoadoutActions call DisableAllTopics dialogenable IsaakPostM10Loadout // ### enable topic ### handlergroup ontrigger dlgIsaakPostM10LoadoutOver gotolabel LoadoutStandby ontrigger DialogAbortEnd gotolabel LoadoutStandbyCleanup handlergroupend :LoadoutStandbyLoop sleep 2 // *** scripted actions *** //agentcall Event_A_FagChange 1 //agentcall Event_U_FagLight 1 sleep 8 sleeprand 8 gotolabel LoadoutStandbyLoop // *** end scripted actions *** // ### :LoadoutDP sendevent WeaponHoloSalamanderUp 0 sendevent WeaponHoloSalamander 0 sendevent WeaponHoloDP 0 sleep 1 sendevent WeaponScreenDP 0 sendevent WeaponScreenBeep 0 sleep :LoadoutDPOver sendevent WeaponScreenDP 0 sendevent WeaponScreenBeep 0 sendevent WeaponHoloDP 0 sleep 1 sendevent WeaponHoloSalamander 0 sleep // ### :LoadoutCAR sendevent WeaponHoloSalamanderUp 0 sendevent WeaponHoloSalamander 0 sendevent WeaponHoloCAR 0 sleep 1 sendevent WeaponScreenCAR 0 sendevent WeaponScreenBeep 0 sleep :LoadoutCAROver sendevent WeaponScreenCAR 0 sendevent WeaponScreenBeep 0 sendevent WeaponHoloCAR 0 sleep 1 sendevent WeaponHoloSalamander 0 sleep // ### :LoadoutGL sendevent WeaponHoloSalamanderUp 0 sendevent WeaponHoloSalamander 0 sendevent WeaponHoloGL 0 sleep 1 sendevent WeaponScreenGL 0 sendevent WeaponScreenBeep 0 sleep :LoadoutGLOver sendevent WeaponScreenGL 0 sendevent WeaponScreenBeep 0 sendevent WeaponHoloGL 0 sleep 1 sendevent WeaponHoloSalamander 0 sleep // ### :LoadoutSG sendevent WeaponHoloSalamanderUp 0 sendevent WeaponHoloSalamander 0 sendevent WeaponHoloSG 0 sleep 1 sendevent WeaponScreenSG 0 sendevent WeaponScreenBeep 0 sleep :LoadoutSGOver sendevent WeaponScreenSG 0 sendevent WeaponScreenBeep 0 sendevent WeaponHoloSG 0 sleep 1 sendevent WeaponHoloSalamander 0 sleep // ### :LoadoutER sendevent WeaponHoloSalamanderUp 0 sendevent WeaponHoloSalamander 0 sendevent WeaponHoloER 0 sleep 1 sendevent WeaponScreenER 0 sendevent WeaponScreenBeep 0 sleep :LoadoutEROver sendevent WeaponScreenER 0 sendevent WeaponScreenBeep 0 sendevent WeaponHoloER 0 sleep 1 sendevent WeaponHoloSalamander 0 sleep // ### :LoadoutFT sendevent WeaponHoloSalamanderUp 0 sendevent WeaponHoloSalamander 0 sendevent WeaponHoloFT 0 sleep 1 sendevent WeaponScreenFT 0 sendevent WeaponScreenBeep 0 sleep :LoadoutFTOver sendevent WeaponScreenFT 0 sendevent WeaponScreenBeep 0 sendevent WeaponHoloFT 0 sleep 1 sendevent WeaponHoloSalamander 0 sleep // ### :LoadoutLG sendevent WeaponHoloSalamanderUp 0 sendevent WeaponHoloSalamander 0 sendevent WeaponHoloLG 0 sleep 1 sendevent WeaponScreenLG 0 sendevent WeaponScreenBeep 0 sleep :LoadoutLGOver sendevent WeaponScreenLG 0 sendevent WeaponScreenBeep 0 sendevent WeaponHoloLG 0 sleep 1 sendevent WeaponHoloSalamander 0 sleep // ### :LoadoutP sendevent WeaponHoloSalamanderUp 0 sendevent WeaponHoloSalamander 0 sendevent WeaponHoloP 0 sleep 1 sendevent WeaponScreenP 0 sendevent WeaponScreenBeep 0 sleep :LoadoutPOver sendevent WeaponScreenP 0 sendevent WeaponScreenBeep 0 sendevent WeaponHoloP 0 sleep 1 sendevent WeaponHoloSalamander 0 sleep // ### :LoadoutSR sendevent WeaponHoloSalamanderUp 0 sendevent WeaponHoloSalamander 0 sendevent WeaponHoloSR 0 sleep 1 sendevent WeaponScreenSR 0 sendevent WeaponScreenBeep 0 sleep :LoadoutSROver sendevent WeaponScreenSR 0 sendevent WeaponScreenBeep 0 sendevent WeaponHoloSR 0 sleep 1 sendevent WeaponHoloSalamander 0 sleep // ### :LoadoutRL sendevent WeaponHoloSalamanderUp 0 sendevent WeaponHoloSalamander 0 sendevent WeaponHoloRL 0 sleep 1 sendevent WeaponScreenRL 0 sendevent WeaponScreenBeep 0 sleep :LoadoutRLOver sendevent WeaponScreenRL 0 sendevent WeaponScreenBeep 0 sendevent WeaponHoloRL 0 sleep 1 sendevent WeaponHoloSalamander 0 sleep // ### :LoadoutT sendevent WeaponHoloSalamanderUp 0 sendevent WeaponHoloSalamander 0 sendevent WeaponHoloT 0 sleep 1 sendevent WeaponScreenT 0 sendevent WeaponScreenBeep 0 sleep :LoadoutTOver sendevent WeaponScreenT 0 sendevent WeaponScreenBeep 0 sendevent WeaponHoloT 0 sleep 1 sendevent WeaponHoloSalamander 0 sleep // ### :LoadoutLR sendevent WeaponHoloSalamanderUp 0 sendevent WeaponHoloSalamander 0 sendevent WeaponHoloLR 0 sleep 1 sendevent WeaponScreenLR 0 sendevent WeaponScreenBeep 0 sleep :LoadoutLROver sendevent WeaponScreenLR 0 sendevent WeaponScreenBeep 0 sendevent WeaponHoloLR 0 sendevent WeaponHoloSalamanderUp 0 sleep 1 sendevent WeaponHoloSalamander 0 sleep // LoadoutActions events (called) //------------------------------------------------------------------------------------------------------------------------ :LoadoutActions ontrigger dlgIsaakPostM10LoadoutDP gotolabel LoadoutDP ontrigger dlgIsaakPostM10LoadoutDPOver gotolabel LoadoutDPOver ontrigger dlgIsaakPostM10LoadoutCAR gotolabel LoadoutCAR ontrigger dlgIsaakPostM10LoadoutCAROver gotolabel LoadoutCAROver ontrigger dlgIsaakPostM10LoadoutGL gotolabel LoadoutGL ontrigger dlgIsaakPostM10LoadoutGLOver gotolabel LoadoutGLOver ontrigger dlgIsaakPostM10LoadoutSG gotolabel LoadoutSG ontrigger dlgIsaakPostM10LoadoutSGOver gotolabel LoadoutSGOver ontrigger dlgIsaakPostM10LoadoutER gotolabel LoadoutER ontrigger dlgIsaakPostM10LoadoutEROver gotolabel LoadoutEROver ontrigger dlgIsaakPostM10LoadoutFT gotolabel LoadoutFT ontrigger dlgIsaakPostM10LoadoutFTOver gotolabel LoadoutFTOver ontrigger dlgIsaakPostM10LoadoutLG gotolabel LoadoutLG ontrigger dlgIsaakPostM10LoadoutLGOver gotolabel LoadoutLGOver ontrigger dlgIsaakPostM10LoadoutP gotolabel LoadoutP ontrigger dlgIsaakPostM10LoadoutPOver gotolabel LoadoutPOver ontrigger dlgIsaakPostM10LoadoutSR gotolabel LoadoutSR ontrigger dlgIsaakPostM10LoadoutSROver gotolabel LoadoutSROver ontrigger dlgIsaakPostM10LoadoutRL gotolabel LoadoutRL ontrigger dlgIsaakPostM10LoadoutRLOver gotolabel LoadoutRLOver ontrigger dlgIsaakPostM10LoadoutT gotolabel LoadoutT ontrigger dlgIsaakPostM10LoadoutTOver gotolabel LoadoutTOver ontrigger dlgIsaakPostM10LoadoutLR gotolabel LoadoutLR ontrigger dlgIsaakPostM10LoadoutLROver gotolabel LoadoutLROver return // Deal with player walking out on loadout //------------------------------------------------------------------------------------------------------------------------ :LoadoutStandbyCleanup //screens testpropertye ResizableStaticMesh114 DrawScale 0 gotolabel LoadoutStandbyCleanup2 sendevent WeaponScreenP 0 :LoadoutStandbyCleanup2 testpropertye ResizableStaticMesh118 DrawScale 0 gotolabel LoadoutStandbyCleanup3 sendevent WeaponScreenRL 0 :LoadoutStandbyCleanup3 testpropertye ResizableStaticMesh113 DrawScale 0 gotolabel LoadoutStandbyCleanup4 sendevent WeaponScreenGL 0 :LoadoutStandbyCleanup4 testpropertye ResizableStaticMesh57 DrawScale 0 gotolabel LoadoutStandbyCleanup5 sendevent WeaponScreenSG 0 :LoadoutStandbyCleanup5 testpropertye ResizableStaticMesh117 DrawScale 0 gotolabel LoadoutStandbyCleanup6 sendevent WeaponScreenLR 0 :LoadoutStandbyCleanup6 testpropertye ResizableStaticMesh119 DrawScale 0 gotolabel LoadoutStandbyCleanup7 sendevent WeaponScreenSR 0 :LoadoutStandbyCleanup7 testpropertye ResizableStaticMesh59 DrawScale 0 gotolabel LoadoutStandbyCleanup8 sendevent WeaponScreenDP 0 :LoadoutStandbyCleanup8 testpropertye ResizableStaticMesh100 DrawScale 0 gotolabel LoadoutStandbyCleanup9 sendevent WeaponScreenT 0 :LoadoutStandbyCleanup9 testpropertye ResizableStaticMesh116 DrawScale 0 gotolabel LoadoutStandbyCleanup10 sendevent WeaponScreenLG 0 :LoadoutStandbyCleanup10 testpropertye ResizableStaticMesh115 DrawScale 0 gotolabel LoadoutStandbyCleanup11 sendevent WeaponScreenER 0 :LoadoutStandbyCleanup11 testpropertye ResizableStaticMesh46 DrawScale 0 gotolabel LoadoutStandbyCleanup12 sendevent WeaponScreenCAR 0 :LoadoutStandbyCleanup12 testpropertye ResizableStaticMesh65 DrawScale 0 gotolabel LoadoutStandbyCleanup13 sendevent WeaponScreenFT 0 //holo weapons :LoadoutStandbyCleanup13 testpropertye ResizableStaticMesh26 DrawScale 0 gotolabel LoadoutStandbyCleanup14 sendevent WeaponHoloDP 0 :LoadoutStandbyCleanup14 testpropertye ResizableStaticMesh28 DrawScale 0 gotolabel LoadoutStandbyCleanup15 sendevent WeaponHoloCAR 0 :LoadoutStandbyCleanup15 testpropertye ResizableStaticMesh33 DrawScale 0 gotolabel LoadoutStandbyCleanup16 sendevent WeaponHoloGL 0 :LoadoutStandbyCleanup16 testpropertye ResizableStaticMesh42 DrawScale 0 gotolabel LoadoutStandbyCleanup17 sendevent WeaponHoloSG 0 :LoadoutStandbyCleanup17 testpropertye ResizableStaticMesh43 DrawScale 0 gotolabel LoadoutStandbyCleanup18 sendevent WeaponHoloER 0 :LoadoutStandbyCleanup18 testpropertye ResizableStaticMesh74 DrawScale 0 gotolabel LoadoutStandbyCleanup19 sendevent WeaponHoloLG 0 :LoadoutStandbyCleanup19 testpropertye ResizableStaticMesh47 DrawScale 0 gotolabel LoadoutStandbyCleanup20 sendevent WeaponHoloFT 0 :LoadoutStandbyCleanup20 testpropertye ResizableStaticMesh89 DrawScale 0 gotolabel LoadoutStandbyCleanup21 sendevent WeaponHoloP 0 :LoadoutStandbyCleanup21 testpropertye ResizableStaticMesh120 DrawScale 0 gotolabel LoadoutStandbyCleanup22 sendevent WeaponHoloRL 0 :LoadoutStandbyCleanup22 testpropertye ResizableStaticMesh103 DrawScale 0 gotolabel LoadoutStandbyCleanup23 sendevent WeaponHoloSR 0 :LoadoutStandbyCleanup23 testpropertye ResizableStaticMesh121 DrawScale 0 gotolabel LoadoutStandbyCleanup24 sendevent WeaponHoloT 0 :LoadoutStandbyCleanup24 testpropertye ResizableStaticMesh122 DrawScale 0 gotolabel LoadoutStandbyCleanup25 sendevent WeaponHoloLR 0 :LoadoutStandbyCleanup25 gotolabel LoadoutStandby //======================================================================================================================== // Global calls //======================================================================================================================== // global events/calls //------------------------------------------------------------------------------------------------------------------------ :DisableAllTopics ontrigger DialogEnd dialogdisable IsaakPostM10Loadout dialogdisable IsaakPostM10Smalltalk return :ScriptEnd