home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 61 / CDPowerplay61Disc2.iso / data1.cab / hd0_scripts / Text / thief4.baf < prev    next >
Encoding:
Text File  |  2000-10-12  |  405 b   |  22 lines

  1. // * Scout
  2. // * will remain hidden if hidden, but will attack if becomes visible.
  3.  
  4. IF
  5.     ActionListEmpty()
  6.     Delay(3)
  7.     !StateCheck(Myself,STATE_INVISIBLE)
  8. THEN
  9.     RESPONSE #100
  10.         Hide()
  11. END
  12.  
  13. //*Combat*
  14. // * if not invisible then attack
  15. IF
  16.     ActionListEmpty()
  17.     !StateCheck(Myself,STATE_INVISIBLE)
  18.     See(NearestEnemyOf(Myself))
  19. THEN
  20.     RESPONSE #100
  21.         AttackReevaluate(LastSeenBy(Myself),30)
  22. END