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

  1.  
  2. [uCmd.UnmountVehicle : cESEvent]
  3. {
  4.     Name = uCmd.UnmountVehicle
  5.     Enabled = 1
  6.     Type = 1
  7.     RefreshRate = 0
  8.  
  9.     [Procedures *]
  10.     {
  11.  
  12.         [: cESIf]
  13.         {
  14.             Note = "Command == UNMOUNT"
  15.  
  16.             [Condition : cESCNumEquals]
  17.             {
  18.                 Note = ""
  19.  
  20.                 [Value1 : cUGetCommandType]
  21.                 {
  22.  
  23.                 }
  24.                 [Value2 : cUEnumCommand]
  25.                 {
  26.                     ECommand = 23
  27.  
  28.                 }
  29.             }
  30.             [Then *]
  31.             {
  32.  
  33.                 [: cESIf]
  34.                 {
  35.                     Note = "state == 0"
  36.  
  37.                     [Condition : cESCNumEquals]
  38.                     {
  39.                         Note = ""
  40.  
  41.                         [Value1 : cUGetCommandState]
  42.                         {
  43.  
  44.                         }
  45.                         [Value2 : cESFIntConst]
  46.                         {
  47.                             Value = 0
  48.  
  49.                         }
  50.                     }
  51.                     [Then *]
  52.                     {
  53.  
  54.                         [: cUSetCommandState]
  55.                         {
  56.  
  57.                             [State : cESFIntConst]
  58.                             {
  59.                                 Value = 1
  60.  
  61.                             }
  62.                         }
  63.                         [: cUUnmount]
  64.                         {
  65.  
  66.                         }
  67.                         [: cEFreeze]
  68.                         {
  69.                             GroupName = ""
  70.                             Time = 10
  71.  
  72.                             [Target : cGetThisUnit]
  73.                             {
  74.  
  75.                             }
  76.                         }
  77.                     }
  78.                     [Else *]
  79.                     {
  80.  
  81.                     }
  82.                 }
  83.                 [: cESIf]
  84.                 {
  85.                     Note = "state == 1"
  86.  
  87.                     [Condition : cESCNumEquals]
  88.                     {
  89.                         Note = ""
  90.  
  91.                         [Value1 : cUGetCommandState]
  92.                         {
  93.  
  94.                         }
  95.                         [Value2 : cESFIntConst]
  96.                         {
  97.                             Value = 1
  98.  
  99.                         }
  100.                     }
  101.                     [Then *]
  102.                     {
  103.  
  104.                         [: cESIf]
  105.                         {
  106.                             Note = "Is finished ?"
  107.  
  108.                             [Condition : cESCNot]
  109.                             {
  110.                                 Note = ""
  111.  
  112.                                 [Condition : cUIsFrozen]
  113.                                 {
  114.                                     Note = ""
  115.  
  116.                                     [Unit : NULL]
  117.                                     {
  118.  
  119.                                     }
  120.                                 }
  121.                             }
  122.                             [Then *]
  123.                             {
  124.  
  125.                                 [: cUCommandCompleted]
  126.                                 {
  127.  
  128.                                 }
  129.                             }
  130.                             [Else *]
  131.                             {
  132.  
  133.                             }
  134.                         }
  135.                     }
  136.                     [Else *]
  137.                     {
  138.  
  139.                     }
  140.                 }
  141.             }
  142.             [Else *]
  143.             {
  144.  
  145.             }
  146.         }
  147.     }
  148. }
  149.