Scripts

TR_m4_VM_RilasRoma_Body_scp

TR_Mainland.esm
Variables 2
Local Variables
pos
control
Source
1begin TR_m4_VM_RilasRoma_Body_scp 2 3short pos 4short control 5 6if ( GetJournalIndex "TR_m4_VM_Headless" >= 90 ) 7 Disable 8 Return 9endif 10 11if ( GetDisabled ) 12 SetDelete 1 13endif 14 15if ( GetJournalIndex "TR_m4_VM_Headless" >= 50 ) 16 if ( MenuMode ) 17 return 18 endif 19 if ( control ) 20 return 21 endif 22 if ( GetDeadCount "TR_m2_Navil Romavel" >= 1 ) 23 PlaceAtPC "TR_m4_VM_RilasRoma_Dial" 1 1 1 24 set control to 1 25 return 26 endif 27endif 28 29if ( pos == 0 ) 30 if ( GetJournalIndex "TR_m4_VM_Headless" >= 50 ) 31 PositionCell 1908 4 -110 5280 "Romavel Ancestral Tomb" ; TR_m4_MARK_RilasRomavel 32 if ( "TR_m4_VM_MightierThanSword"->GetPos Z < -1 ) ; should be around -100 if it's in the cell, exactly 0 if not 33 "TR_m4_VM_MightierThanSword"->PositionCell 1908 4 -107 5280 "Romavel Ancestral Tomb" ; TR_m4_MARK_RilasRomavel 34 endif 35 if ( "TR_m4_q_Headless_Drum_UNI"->GetPos Z < -1 ) ; should be around -100 if it's in the cell, exactly 0 if not 36 "TR_m4_q_Headless_Drum_UNI"->PositionCell 1790 62 -88 0 "Romavel Ancestral Tomb" ; TR_m4_MARK_RilasRomavel 37 endif 38 set pos to 1 39 return 40 endif 41endif 42 43; for some reason, doesn't like it when we do it on the same frame as positioncell 44if ( pos == 1 ) 45 PlaySound3D "skeleton moan" 46 MessageBox "^PCName, you made it! Come to the central ashpit and we can begin." 47 set pos to 2 48endif 49 50if ( OnActivate ) 51 Return 52endif 53 54end