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

  1.  
  2. [Goal.SeekByFireSound.Exec : cESEvent]
  3. {
  4.     Name = Goal.SeekByFireSound.Exec
  5.     Enabled = 1
  6.     Type = 4
  7.     RefreshRate = 0
  8.  
  9.     [Procedures *]
  10.     {
  11.  
  12.         [: cESIf]
  13.         {
  14.             Note = ""
  15.  
  16.             [Condition : cESCNumEquals]
  17.             {
  18.                 Note = ""
  19.  
  20.                 [Value1 : cSGetGoalState]
  21.                 {
  22.  
  23.                 }
  24.                 [Value2 : cESFIntConst]
  25.                 {
  26.                     Value = 0
  27.  
  28.                 }
  29.             }
  30.             [Then *]
  31.             {
  32.  
  33.                 [: cSSetGoalState]
  34.                 {
  35.  
  36.                     [State : cESFIntConst]
  37.                     {
  38.                         Value = 1
  39.  
  40.                     }
  41.                 }
  42.                 [: cESNote]
  43.                 {
  44.                     Text = "Ide meg lehet tenni egy olyat, hogy utana nezelodik, vagy utanafordul. (LastKnownDirection)"
  45.  
  46.                 }
  47.                 [: cCMoveTo]
  48.                 {
  49.                     Type = 1
  50.                     CommandDelay = 1
  51.                     Style = 3
  52.  
  53.                     [Squad : cSGetByThisSquad]
  54.                     {
  55.  
  56.                     }
  57.                     [Distance : cESFIntConst]
  58.                     {
  59.                         Value = 5
  60.  
  61.                     }
  62.                     [Target : cSConvertToPosTarget]
  63.                     {
  64.  
  65.                         [Target : cSRetrieveCmdTarget]
  66.                         {
  67.                             VarName = ClosestFiringEnemyInFront
  68.  
  69.                         }
  70.                     }
  71.                 }
  72.             }
  73.             [Else *]
  74.             {
  75.  
  76.             }
  77.         }
  78.     }
  79. }
  80.