home *** CD-ROM | disk | FTP | other *** search
- // * Mar 17, 2000.
- // * Brent Knowles
- // * Player with this script will run away whenever enemies get too close.
-
- //*Control*
- IF
- HPPercentLT(Myself,75)
- See(NearestEnemyOf(Myself))
- THEN
- RESPONSE #100
- Help()
- Continue()
- END
-
- //*Combat*
-
- IF
- ActionListEmpty()
- AttackedBy([ANYONE],DEFAULT)
- THEN
- RESPONSE #100
- RunAwayFrom(LastAttackerOf(Myself),150)
- END
-
- // * run if they are too close
- IF
- ActionListEmpty()
- See(NearestEnemyOf(Myself))
- Range(LastSeenBy(Myself),20)
- ActionListEmpty()
- THEN
- RESPONSE #100
- RunAwayFrom(LastSeenBy(Myself),150)
- END