home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 2002 December / JOY143_CD1.iso / Data / Demos / Platoon / pl_demo.exe / Inf / Gamelogic / GameEvents / uCmd.Hide-Civil.inf < prev    next >
INI File  |  2002-10-14  |  3KB  |  191 lines

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