Scripts

TR_m4_VM_RilasRoma_Dial_scp

TR_Mainland.esm
Variables 1
Local Variables
dialogue
Source
1begin TR_m4_VM_RilasRoma_Dial_scp 2 3; attached to invisible dummy NPC only summoned for dialogue 4; should be disabled the frame that player exits dialogue 5; delete in the next frame 6; no quest-related local variables because we are destroying and recreating this NPC every time the player wants to talk to him 7 8short dialogue 9 10if ( dialogue == 0 ) 11 ForceGreeting 12 set dialogue to 1 13 ;MessageBox "Greeting forced" 14 return 15endif 16 17if ( MenuMode ) 18 return 19endif 20 21if ( GetDisabled == 0 ) 22 ;MessageBox "Disable" 23 disable 24 return 25endif 26 27;MessageBox "Set delete" 28SetDelete 1 29 30end