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

  1.  
  2. [Goal.TurnToFiringEnemy.Exec : cESEvent]
  3. {
  4.     Name = Goal.TurnToFiringEnemy.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.                 [: cSRegisterEvent]
  34.                 {
  35.                     EventType = 1
  36.  
  37.                     [Entity : cSRetrieveCmdTarget]
  38.                     {
  39.                         VarName = ClosestFiringEnemy
  40.  
  41.                     }
  42.                     [LifeTime : cESGetGlobalParameter]
  43.                     {
  44.                         ParamName = soundevent_reprocess_delay
  45.  
  46.                     }
  47.                 }
  48.                 [: cSSetGoalState]
  49.                 {
  50.  
  51.                     [State : cESFIntConst]
  52.                     {
  53.                         Value = 1
  54.  
  55.                     }
  56.                 }
  57.                 [: cCGeneral]
  58.                 {
  59.                     Type = 1
  60.                     CommandDelay = 1
  61.                     Command = 26
  62.  
  63.                     [Squad : cSGetByThisSquad]
  64.                     {
  65.  
  66.                     }
  67.                     [Target : cSRetrieveCmdTarget]
  68.                     {
  69.                         VarName = ClosestFiringEnemy
  70.  
  71.                     }
  72.                     [IntParam : NULL]
  73.                     {
  74.  
  75.                     }
  76.                 }
  77.             }
  78.             [Else *]
  79.             {
  80.  
  81.             }
  82.         }
  83.     }
  84. }
  85.