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

  1.  
  2. [uSub.GTC_Run/CanShootRunning : cESEvent]
  3. {
  4.     Name = uSub.GTC_Run/CanShootRunning
  5.     Enabled = 1
  6.     Type = 2
  7.     RefreshRate = 0
  8.  
  9.     [Procedures *]
  10.     {
  11.  
  12.         [: cESIf]
  13.         {
  14.             Note = "Latja, vagy tud loni lathatatlant?"
  15.  
  16.             [Condition : cESCOr]
  17.             {
  18.                 Note = ""
  19.  
  20.                 [OrConditions *]
  21.                 {
  22.  
  23.                     [: cUIsUnitInLOS]
  24.                     {
  25.                         Note = ""
  26.  
  27.                         [Unit : cUGetAttackTarget]
  28.                         {
  29.  
  30.                         }
  31.                     }
  32.                     [: cESCNumEquals]
  33.                     {
  34.                         Note = ""
  35.  
  36.                         [Value1 : cESFIntFromMember]
  37.                         {
  38.                             VariableName = CanShootInvisible
  39.  
  40.                             [Object : cGetThisUnit]
  41.                             {
  42.  
  43.                             }
  44.                         }
  45.                         [Value2 : cESFIntConst]
  46.                         {
  47.                             Value = 1
  48.  
  49.                         }
  50.                     }
  51.                 }
  52.             }
  53.             [Then *]
  54.             {
  55.  
  56.                 [: cESLog]
  57.                 {
  58.                     Text = "TargetCondition = 5"
  59.  
  60.                 }
  61.                 [: cESIntToVar]
  62.                 {
  63.                     VariableName = TargetCondition
  64.                     Keep = 0
  65.  
  66.                     [Value : cESFIntConst]
  67.                     {
  68.                         Value = 5
  69.  
  70.                     }
  71.                 }
  72.             }
  73.             [Else *]
  74.             {
  75.  
  76.                 [: cESLog]
  77.                 {
  78.                     Text = "TargetCondition = 1"
  79.  
  80.                 }
  81.                 [: cESIntToVar]
  82.                 {
  83.                     VariableName = TargetCondition
  84.                     Keep = 0
  85.  
  86.                     [Value : cESFIntConst]
  87.                     {
  88.                         Value = 1
  89.  
  90.                     }
  91.                 }
  92.             }
  93.         }
  94.     }
  95. }
  96.