Scripts

TR_m3_q_A9_strandedpilgrim

TR_Mainland.esm
Variables 6
Local Variables
status
button
NoLore
T_Local_NPC
TR_Map
T_Local_NoLore
Source
1Begin TR_m3_q_A9_strandedpilgrim 2 3short status 4short button 5Short NoLore 6short T_Local_NPC 7short TR_Map 8short T_Local_NoLore 9 10if ( TR_Map != 3 ) 11 set TR_Map to 3 12endif 13 14If ( status == 2 ) 15 If ( OnActivate == 1 ) 16 Activate 17 Endif 18Endif 19 20If ( status == 0 ) 21 SetFatigue 0 22 If ( OnActivate == 1 ) 23 MessageBox "This man looks like he has been stranded here for some time.", "Give him some water.", "Leave him be." 24 set status to 1 25 Endif 26Endif 27 28If ( status == 1 ) 29 set button to GetButtonPressed 30 If ( button == -1 ) 31 SetFatigue 0 32 Return 33 Elseif ( button == 0 ) 34 SetFatigue 100 35 say, "vo\d\m\Flw_DM004.mp3", "Thank you." 36 set status to 2 37 Elseif ( button == 1 ) 38 set status to 0 39 Endif 40Endif 41 42 43End