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_Assault-StandingOnly.inf < prev    next >
INI File  |  2002-10-14  |  3KB  |  204 lines

  1.  
  2. [uSub.SMS_Assault/StandingOnly : cESEvent]
  3. {
  4.     Name = uSub.SMS_Assault/StandingOnly
  5.     Enabled = 1
  6.     Type = 2
  7.     RefreshRate = 0
  8.  
  9.     [Procedures *]
  10.     {
  11.  
  12.         [: cESIf]
  13.         {
  14.             Note = ""
  15.  
  16.             [Condition : cUIsUserCommand]
  17.             {
  18.                 Note = ""
  19.  
  20.             }
  21.             [Then *]
  22.             {
  23.  
  24.                 [: cESIf]
  25.                 {
  26.                     Note = ""
  27.  
  28.                     [Condition : cESCNumNotEquals]
  29.                     {
  30.                         Note = ""
  31.  
  32.                         [Value1 : cUGetMovementStyle]
  33.                         {
  34.  
  35.                         }
  36.                         [Value2 : cUEnumMovementStyle]
  37.                         {
  38.                             EMovementStyle = 1
  39.  
  40.                         }
  41.                     }
  42.                     [Then *]
  43.                     {
  44.  
  45.                         [: cUSetCommandSubState]
  46.                         {
  47.  
  48.                             [State : cESFIntConst]
  49.                             {
  50.                                 Value = -1
  51.  
  52.                             }
  53.                         }
  54.                     }
  55.                     [Else *]
  56.                     {
  57.  
  58.                         [: cESIf]
  59.                         {
  60.                             Note = ""
  61.  
  62.                             [Condition : cESCNumEquals]
  63.                             {
  64.                                 Note = ""
  65.  
  66.                                 [Value1 : cUGetCommandSubState]
  67.                                 {
  68.  
  69.                                 }
  70.                                 [Value2 : cESFIntConst]
  71.                                 {
  72.                                     Value = 0
  73.  
  74.                                 }
  75.                             }
  76.                             [Then *]
  77.                             {
  78.  
  79.                                 [: cESLog]
  80.                                 {
  81.                                     Text = "Changing movement style for Assault: FAST"
  82.  
  83.                                 }
  84.                                 [: cUSetMovementStyle]
  85.                                 {
  86.                                     Style = 3
  87.  
  88.                                     [Unit : cGetThisUnit]
  89.                                     {
  90.  
  91.                                     }
  92.                                 }
  93.                                 [: cUSetCommandSubState]
  94.                                 {
  95.  
  96.                                     [State : cESFIntConst]
  97.                                     {
  98.                                         Value = 1
  99.  
  100.                                     }
  101.                                 }
  102.                             }
  103.                             [Else *]
  104.                             {
  105.  
  106.                             }
  107.                         }
  108.                     }
  109.                 }
  110.             }
  111.             [Else *]
  112.             {
  113.  
  114.                 [: cESIf]
  115.                 {
  116.                     Note = ""
  117.  
  118.                     [Condition : cESCNumEquals]
  119.                     {
  120.                         Note = ""
  121.  
  122.                         [Value1 : cUGetMovementStyle]
  123.                         {
  124.  
  125.                         }
  126.                         [Value2 : cUEnumMovementStyle]
  127.                         {
  128.                             EMovementStyle = 3
  129.  
  130.                         }
  131.                     }
  132.                     [Then *]
  133.                     {
  134.  
  135.                         [: cUSetCommandSubState]
  136.                         {
  137.  
  138.                             [State : cESFIntConst]
  139.                             {
  140.                                 Value = -1
  141.  
  142.                             }
  143.                         }
  144.                     }
  145.                     [Else *]
  146.                     {
  147.  
  148.                         [: cESIf]
  149.                         {
  150.                             Note = ""
  151.  
  152.                             [Condition : cESCNumEquals]
  153.                             {
  154.                                 Note = ""
  155.  
  156.                                 [Value1 : cUGetCommandSubState]
  157.                                 {
  158.  
  159.                                 }
  160.                                 [Value2 : cESFIntConst]
  161.                                 {
  162.                                     Value = 0
  163.  
  164.                                 }
  165.                             }
  166.                             [Then *]
  167.                             {
  168.  
  169.                                 [: cESLog]
  170.                                 {
  171.                                     Text = "Changing movement style for Assault: FAST"
  172.  
  173.                                 }
  174.                                 [: cUSetMovementStyle]
  175.                                 {
  176.                                     Style = 3
  177.  
  178.                                     [Unit : cGetThisUnit]
  179.                                     {
  180.  
  181.                                     }
  182.                                 }
  183.                                 [: cUSetCommandSubState]
  184.                                 {
  185.  
  186.                                     [State : cESFIntConst]
  187.                                     {
  188.                                         Value = 1
  189.  
  190.                                     }
  191.                                 }
  192.                             }
  193.                             [Else *]
  194.                             {
  195.  
  196.                             }
  197.                         }
  198.                     }
  199.                 }
  200.             }
  201.         }
  202.     }
  203. }
  204.