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

  1.  
  2. [Goal.TurnToDamageSound.Eval : cESEvent]
  3. {
  4.     Name = Goal.TurnToDamageSound.Eval
  5.     Enabled = 1
  6.     Type = 4
  7.     RefreshRate = 0
  8.  
  9.     [Procedures *]
  10.     {
  11.  
  12.         [: cESIf]
  13.         {
  14.             Note = ""
  15.  
  16.             [Condition : cSIsThisGoalCurrent]
  17.             {
  18.                 Note = ""
  19.  
  20.             }
  21.             [Then *]
  22.             {
  23.  
  24.                 [: cESIf]
  25.                 {
  26.                     Note = ""
  27.  
  28.                     [Condition : cESCNot]
  29.                     {
  30.                         Note = ""
  31.  
  32.                         [Condition : cSIsIdle]
  33.                         {
  34.                             Note = ""
  35.  
  36.                             [Squad : cSGetByThisSquad]
  37.                             {
  38.  
  39.                             }
  40.                         }
  41.                     }
  42.                     [Then *]
  43.                     {
  44.  
  45.                         [: cESSetReturnValue]
  46.                         {
  47.  
  48.                             [Value : cESFIntConst]
  49.                             {
  50.                                 Value = 1
  51.  
  52.                             }
  53.                         }
  54.                     }
  55.                     [Else *]
  56.                     {
  57.  
  58.                         [: cESLog]
  59.                         {
  60.                             Text = "Goal ended naturally."
  61.  
  62.                         }
  63.                     }
  64.                 }
  65.             }
  66.             [Else *]
  67.             {
  68.  
  69.                 [: cESIf]
  70.                 {
  71.                     Note = ""
  72.  
  73.                     [Condition : cSIsSoundEventNotInRegistry]
  74.                     {
  75.                         Note = ""
  76.                         SoundOwner = 0
  77.                         SoundType = 3
  78.                         OmitSoundsByThisSquad = 1
  79.  
  80.                     }
  81.                     [Then *]
  82.                     {
  83.  
  84.                         [: cESIf]
  85.                         {
  86.                             Note = ""
  87.  
  88.                             [Condition : cSIsSoundEventAndSeek]
  89.                             {
  90.                                 Note = ""
  91.                                 SoundOwner = 0
  92.                                 SoundType = 3
  93.                                 SeekAngle = 190
  94.                                 OmitSoundsByThisSquad = 1
  95.  
  96.                             }
  97.                             [Then *]
  98.                             {
  99.  
  100.                                 [: cESSetReturnValue]
  101.                                 {
  102.  
  103.                                     [Value : cESFIntConst]
  104.                                     {
  105.                                         Value = 1
  106.  
  107.                                     }
  108.                                 }
  109.                             }
  110.                             [Else *]
  111.                             {
  112.  
  113.                             }
  114.                         }
  115.                     }
  116.                     [Else *]
  117.                     {
  118.  
  119.                     }
  120.                 }
  121.             }
  122.         }
  123.     }
  124. }
  125.