home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 2002 December / JOY143_CD1.iso / Data / Demos / Platoon / pl_demo.exe / Inf / Gamelogic / GameEvents / uSub.IsTargetReachable-StandingOnly.inf < prev    next >
INI File  |  2002-10-14  |  803b  |  64 lines

  1.  
  2. [uSub.IsTargetReachable/StandingOnly : cESEvent]
  3. {
  4.     Name = uSub.IsTargetReachable/StandingOnly
  5.     Enabled = 1
  6.     Type = 2
  7.     RefreshRate = 0
  8.  
  9.     [Procedures *]
  10.     {
  11.  
  12.         [: cESNote]
  13.         {
  14.             Text = "Ki kell tolteni mindenhol a movement style-okat!"
  15.  
  16.         }
  17.         [: cESIf]
  18.         {
  19.             Note = ""
  20.  
  21.             [Condition : cUIsTargetReachable]
  22.             {
  23.                 Note = ""
  24.                 MovementStyle = 2
  25.  
  26.                 [Target : cUGetAttackTarget]
  27.                 {
  28.  
  29.                 }
  30.             }
  31.             [Then *]
  32.             {
  33.  
  34.                 [: cESIntToVar]
  35.                 {
  36.                     VariableName = TargetReachable
  37.                     Keep = 0
  38.  
  39.                     [Value : cESFIntConst]
  40.                     {
  41.                         Value = 1
  42.  
  43.                     }
  44.                 }
  45.             }
  46.             [Else *]
  47.             {
  48.  
  49.                 [: cESIntToVar]
  50.                 {
  51.                     VariableName = TargetReachable
  52.                     Keep = 0
  53.  
  54.                     [Value : cESFIntConst]
  55.                     {
  56.                         Value = 0
  57.  
  58.                     }
  59.                 }
  60.             }
  61.         }
  62.     }
  63. }
  64.