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

  1.  
  2. [Goal.TurnAround.Exec : cESEvent]
  3. {
  4.     Name = Goal.TurnAround.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.                 [: cESLog]
  43.                 {
  44.                     Text = "Putting in registry for time_turnaround time."
  45.  
  46.                 }
  47.                 [: cSRegisterEvent]
  48.                 {
  49.                     EventType = 13
  50.  
  51.                     [Entity : cSGetByThisSquad]
  52.                     {
  53.  
  54.                     }
  55.                     [LifeTime : cESGetGlobalParameter]
  56.                     {
  57.                         ParamName = time_turnaround
  58.  
  59.                     }
  60.                 }
  61.                 [: cCGeneral]
  62.                 {
  63.                     Type = 1
  64.                     CommandDelay = 0
  65.                     Command = 32
  66.  
  67.                     [Squad : cSGetByThisSquad]
  68.                     {
  69.  
  70.                     }
  71.                     [Target : cSRetrieveCmdTarget]
  72.                     {
  73.                         VarName = LastAttackedTarget
  74.  
  75.                     }
  76.                     [IntParam : NULL]
  77.                     {
  78.  
  79.                     }
  80.                 }
  81.             }
  82.             [Else *]
  83.             {
  84.  
  85.             }
  86.         }
  87.     }
  88. }
  89.