home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 2002 December / JOY143_CD1.iso / Data / Demos / Platoon / pl_demo.exe / Inf / Gamelogic / GameEvents / uSub.SMS_Turn-CanNotTurnCrowling.inf < prev    next >
INI File  |  2002-10-14  |  1KB  |  100 lines

  1.  
  2. [uSub.SMS_Turn/CanNotTurnCrowling : cESEvent]
  3. {
  4.     Name = uSub.SMS_Turn/CanNotTurnCrowling
  5.     Enabled = 1
  6.     Type = 2
  7.     RefreshRate = 0
  8.  
  9.     [Procedures *]
  10.     {
  11.  
  12.         [: cESIf]
  13.         {
  14.             Note = ""
  15.  
  16.             [Condition : cESCNumNotEquals]
  17.             {
  18.                 Note = ""
  19.  
  20.                 [Value1 : cUGetMovementStyle]
  21.                 {
  22.  
  23.                 }
  24.                 [Value2 : cUEnumMovementStyle]
  25.                 {
  26.                     EMovementStyle = 1
  27.  
  28.                 }
  29.             }
  30.             [Then *]
  31.             {
  32.  
  33.                 [: cUSetCommandSubState]
  34.                 {
  35.  
  36.                     [State : cESFIntConst]
  37.                     {
  38.                         Value = -1
  39.  
  40.                     }
  41.                 }
  42.             }
  43.             [Else *]
  44.             {
  45.  
  46.                 [: cESIf]
  47.                 {
  48.                     Note = ""
  49.  
  50.                     [Condition : cESCNumEquals]
  51.                     {
  52.                         Note = ""
  53.  
  54.                         [Value1 : cUGetCommandSubState]
  55.                         {
  56.  
  57.                         }
  58.                         [Value2 : cESFIntConst]
  59.                         {
  60.                             Value = 0
  61.  
  62.                         }
  63.                     }
  64.                     [Then *]
  65.                     {
  66.  
  67.                         [: cUSetMovementStyle]
  68.                         {
  69.                             Style = 3
  70.  
  71.                             [Unit : cGetThisUnit]
  72.                             {
  73.  
  74.                             }
  75.                         }
  76.                         [: cUSetCommandSubState]
  77.                         {
  78.  
  79.                             [State : cESFIntConst]
  80.                             {
  81.                                 Value = 1
  82.  
  83.                             }
  84.                         }
  85.                         [: cESLog]
  86.                         {
  87.                             Text = "Can't turn crowling: Changing movement style to FAST"
  88.  
  89.                         }
  90.                     }
  91.                     [Else *]
  92.                     {
  93.  
  94.                     }
  95.                 }
  96.             }
  97.         }
  98.     }
  99. }
  100.