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_FireHoldingPosition-Stand.inf < prev    next >
INI File  |  2002-10-14  |  1KB  |  100 lines

  1.  
  2. [uSub.SMS_FireHoldingPosition/Stand : cESEvent]
  3. {
  4.     Name = uSub.SMS_FireHoldingPosition/Stand
  5.     Enabled = 1
  6.     Type = 2
  7.     RefreshRate = 0
  8.  
  9.     [Procedures *]
  10.     {
  11.  
  12.         [: cESIf]
  13.         {
  14.             Note = ""
  15.  
  16.             [Condition : cESCNumEquals]
  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.                 [: cESIf]
  34.                 {
  35.                     Note = ""
  36.  
  37.                     [Condition : cESCNumEquals]
  38.                     {
  39.                         Note = ""
  40.  
  41.                         [Value1 : cUGetCommandSubState]
  42.                         {
  43.  
  44.                         }
  45.                         [Value2 : cESFIntConst]
  46.                         {
  47.                             Value = 0
  48.  
  49.                         }
  50.                     }
  51.                     [Then *]
  52.                     {
  53.  
  54.                         [: cESLog]
  55.                         {
  56.                             Text = "Changing movement style for FireHoldingPosition: FAST"
  57.  
  58.                         }
  59.                         [: cUSetMovementStyle]
  60.                         {
  61.                             Style = 3
  62.  
  63.                             [Unit : cGetThisUnit]
  64.                             {
  65.  
  66.                             }
  67.                         }
  68.                         [: cUSetCommandSubState]
  69.                         {
  70.  
  71.                             [State : cESFIntConst]
  72.                             {
  73.                                 Value = 1
  74.  
  75.                             }
  76.                         }
  77.                     }
  78.                     [Else *]
  79.                     {
  80.  
  81.                     }
  82.                 }
  83.             }
  84.             [Else *]
  85.             {
  86.  
  87.                 [: cUSetCommandSubState]
  88.                 {
  89.  
  90.                     [State : cESFIntConst]
  91.                     {
  92.                         Value = -1
  93.  
  94.                     }
  95.                 }
  96.             }
  97.         }
  98.     }
  99. }
  100.