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

  1.  
  2. [uCmd.ThrowGrenade/P : cESEvent]
  3. {
  4.     Name = uCmd.ThrowGrenade/P
  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 = 18
  27.  
  28.                 }
  29.             }
  30.             [Then *]
  31.             {
  32.  
  33.                 [: cUStopAim]
  34.                 {
  35.  
  36.                     [Entity : NULL]
  37.                     {
  38.  
  39.                     }
  40.                 }
  41.                 [: cUSetCommandIntParam]
  42.                 {
  43.  
  44.                     [Value : cESFIntConst]
  45.                     {
  46.                         Value = 3
  47.  
  48.                     }
  49.                 }
  50.                 [: cESSubrutine]
  51.                 {
  52.                     Subrutine = uSub.SetWeapon
  53.  
  54.                 }
  55.                 [: cESSubrutine]
  56.                 {
  57.                     Subrutine = uSub.Fight
  58.  
  59.                 }
  60.                 [: cESIf]
  61.                 {
  62.                     Note = ""
  63.  
  64.                     [Condition : cUHasShotInLastFrame]
  65.                     {
  66.                         Note = ""
  67.  
  68.                     }
  69.                     [Then *]
  70.                     {
  71.  
  72.                         [: cUCommandCompleted]
  73.                         {
  74.  
  75.                         }
  76.                     }
  77.                     [Else *]
  78.                     {
  79.  
  80.                     }
  81.                 }
  82.             }
  83.             [Else *]
  84.             {
  85.  
  86.             }
  87.         }
  88.     }
  89. }
  90.