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-G-Stand-NG-Crawl.inf < prev    next >
INI File  |  2002-10-14  |  3KB  |  218 lines

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