Guest User

Untitled

a guest
Sep 11th, 2019
82
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. begin FG_Chase_Dura_ForceGreet
  2.  
  3. float timer
  4.  
  5. if ( GetPCCell "Balmora, Guild of Fighters" == 0 )
  6. Return
  7. endif
  8.  
  9. if ( GetJournalIndex "FG_OrcBounty" == 20 ) || ( GetJournalIndex "FG_OrcBounty" == 123 ) || ( GetJournalIndex "FG_OrcBounty" == 125 ) || ( GetJournalIndex "FG_OrcBounty" == 125 )
  10. endif
  11.  
  12. Set timer to ( timer + GetSecondsPassed )
  13.  
  14. if ( timer < 5 ) ;this makes sure GetDetected is only called every 5 seconds
  15. Return
  16. endif
  17.  
  18. Set timer to 0
  19.  
  20. if ( GetDistance player && "dura gra-bol" <= 1024 )
  21. if ( player->GetDistance <=128 )
  22. if ( GetDetected Player == 1 )
  23. "eydis fire-eye"->ForceGreeting ; The player and Dura has been caught and FG will take action against
  24. endif
  25. endif
  26. endif
  27. end
RAW Paste Data