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

  1.  
  2. [uCmd.Fire : cESEvent]
  3. {
  4.     Name = uCmd.Fire
  5.     Enabled = 1
  6.     Type = 1
  7.     RefreshRate = 0
  8.  
  9.     [Procedures *]
  10.     {
  11.  
  12.         [: cESIf]
  13.         {
  14.             Note = "Fire or FireMultiple?"
  15.  
  16.             [Condition : cESCOr]
  17.             {
  18.                 Note = ""
  19.  
  20.                 [OrConditions *]
  21.                 {
  22.  
  23.                     [: cESCNumEquals]
  24.                     {
  25.                         Note = ""
  26.  
  27.                         [Value1 : cUGetCommandType]
  28.                         {
  29.  
  30.                         }
  31.                         [Value2 : cUEnumCommand]
  32.                         {
  33.                             ECommand = 7
  34.  
  35.                         }
  36.                     }
  37.                     [: cESCNumEquals]
  38.                     {
  39.                         Note = ""
  40.  
  41.                         [Value1 : cUGetCommandType]
  42.                         {
  43.  
  44.                         }
  45.                         [Value2 : cUEnumCommand]
  46.                         {
  47.                             ECommand = 28
  48.  
  49.                         }
  50.                     }
  51.                 }
  52.             }
  53.             [Then *]
  54.             {
  55.  
  56.                 [: cESIf]
  57.                 {
  58.                     Note = ""
  59.  
  60.                     [Condition : cUIsUserCommand]
  61.                     {
  62.                         Note = ""
  63.  
  64.                     }
  65.                     [Then *]
  66.                     {
  67.  
  68.                         [: cESSubrutine]
  69.                         {
  70.                             Subrutine = uSub.SetPrimaryWeapon
  71.  
  72.                         }
  73.                     }
  74.                     [Else *]
  75.                     {
  76.  
  77.                     }
  78.                 }
  79.                 [: cESSubrutine]
  80.                 {
  81.                     Subrutine = uSub.Fight
  82.  
  83.                 }
  84.             }
  85.             [Else *]
  86.             {
  87.  
  88.             }
  89.         }
  90.     }
  91. }
  92.