//======================================================================================================================== // IsaakPostM01.u2s // AI script for Isaak before Hell //======================================================================================================================== :ScriptStart //debugmode 3 inert 1 setmovespeed 0.25 call TriggeredActions //======================================================================================================================== // Idle //======================================================================================================================== :Idle call DisableAllTopics dialogenable IsaakPostM01NotReady // ### enable topic ### ontrigger PostM01PlayerEnteredWorkshop interrupt HeyThere 1 :IdleLoop directionalpatrol 1 gotoactor PatrolPoint44 directionalpatrol 0 agentcall Event_A_FagChange 1 agentcall Event_U_FagLight 1 sleeprand 5 directionalpatrol 1 gotoactor PatrolPoint34 directionalpatrol 0 sleep 10 gotolabel IdleLoop :HeyThere turntoactor Player dialoginitiate Player IsaakPostMXXGreeting3 sleep 0.1 return //======================================================================================================================== // Loadout //======================================================================================================================== :GoToLoadout call DisableAllTopics // Loadout Stages //------------------------------------------------------------------------------------------------------------------------ :LoadoutStandby directionalpatrol 1 gotoactor PathNode88 directionalpatrol 0 call LoadoutActions call DisableAllTopics dialogenable IsaakPostM01Loadout // ### enable topic ### handlergroup ontrigger dlgIsaakPostM01LoadoutOver 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 dlgIsaakPostM01LoadoutDP gotolabel LoadoutDP ontrigger dlgIsaakPostM01LoadoutDPOver gotolabel LoadoutDPOver ontrigger dlgIsaakPostM01LoadoutCAR gotolabel LoadoutCAR ontrigger dlgIsaakPostM01LoadoutCAROver gotolabel LoadoutCAROver ontrigger dlgIsaakPostM01LoadoutGL gotolabel LoadoutGL ontrigger dlgIsaakPostM01LoadoutGLOver gotolabel LoadoutGLOver ontrigger dlgIsaakPostM01LoadoutSG gotolabel LoadoutSG ontrigger dlgIsaakPostM01LoadoutSGOver gotolabel LoadoutSGOver ontrigger dlgIsaakPostM01LoadoutER gotolabel LoadoutER ontrigger dlgIsaakPostM01LoadoutEROver gotolabel LoadoutEROver ontrigger dlgIsaakPostM01LoadoutFT gotolabel LoadoutFT ontrigger dlgIsaakPostM01LoadoutFTOver gotolabel LoadoutFTOver ontrigger dlgIsaakPostM01LoadoutLG gotolabel LoadoutLG ontrigger dlgIsaakPostM01LoadoutLGOver gotolabel LoadoutLGOver ontrigger dlgIsaakPostM01LoadoutP gotolabel LoadoutP ontrigger dlgIsaakPostM01LoadoutPOver gotolabel LoadoutPOver ontrigger dlgIsaakPostM01LoadoutSR gotolabel LoadoutSR ontrigger dlgIsaakPostM01LoadoutSROver gotolabel LoadoutSROver ontrigger dlgIsaakPostM01LoadoutRL gotolabel LoadoutRL ontrigger dlgIsaakPostM01LoadoutRLOver gotolabel LoadoutRLOver ontrigger dlgIsaakPostM01LoadoutT gotolabel LoadoutT ontrigger dlgIsaakPostM01LoadoutTOver gotolabel LoadoutTOver ontrigger dlgIsaakPostM01LoadoutLR gotolabel LoadoutLR ontrigger dlgIsaakPostM01LoadoutLROver 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 //------------------------------------------------------------------------------------------------------------------------ :TriggeredActions ontrigger RaiseDropshipDispatcher gotolabel GoToLoadout 1 return :DisableAllTopics ontrigger DialogEnd dialogdisable IsaakPostM01NotReady dialogdisable IsaakPostM01Loadout return :ScriptEnd