home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 56 / CDPowerplay56Disc2.iso / demos / blade / data1.cab / Program_Executable_Files / Lib / AuxTran.py < prev    next >
Encoding:
Text File  |  2000-10-27  |  621 b   |  35 lines

  1. #
  2. #
  3. # File to create the specific behaviour related to the race the character belongs to
  4. #
  5. #
  6.  
  7. import Bladex
  8.  
  9.  
  10. #
  11. # Orc
  12. #
  13. def AuxTranOrc(EntityName):
  14.     me=Bladex.GetEntity(EntityName)
  15.     """
  16.     if me.Gof and me.Slow and me.BayRoute:
  17.         if me.StatL(me.Name)==1:
  18.             me.LaunchAnmnType("patrol_wlk_t")
  19.         else:
  20.             me.LaunchAnmType("patrol_wlk_1h")
  21.     """
  22.  
  23. #
  24. # KightLivingDead
  25. #
  26. def AuxTranKnightLivingDead(EntityName):
  27.     me=Bladex.GetEntity(EntityName)
  28.     """
  29.     if me.Gof and me.Slow and me.BayRoute:
  30.         if me.StatL==1:
  31.             me.LaunchAnmnType("patrol_wlk_t")
  32.         else:
  33.             me.LaunchAnmType("patrol_wlk_1h")
  34.     """
  35.