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

  1.  
  2. [Goal.HideCivil.Eval : cESEvent]
  3. {
  4.     Name = Goal.HideCivil.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 = "All? Csak akkor akarunk lehasalni, ha igen. Guard?"
  72.  
  73.                     [Condition : cESCAnd]
  74.                     {
  75.                         Note = ""
  76.  
  77.                         [AndConditions *]
  78.                         {
  79.  
  80.                             [: cESCNumNotEquals]
  81.                             {
  82.                                 Note = ""
  83.  
  84.                                 [Value1 : cSGetMovementStyle]
  85.                                 {
  86.  
  87.                                 }
  88.                                 [Value2 : cUEnumMovementStyle]
  89.                                 {
  90.                                     EMovementStyle = 1
  91.  
  92.                                 }
  93.                             }
  94.                             [: cESCNumNotEquals]
  95.                             {
  96.                                 Note = ""
  97.  
  98.                                 [Value1 : cESFIntFromMember]
  99.                                 {
  100.                                     VariableName = GuardMode
  101.  
  102.                                     [Object : cSGetByThisSquad]
  103.                                     {
  104.  
  105.                                     }
  106.                                 }
  107.                                 [Value2 : cESFIntConst]
  108.                                 {
  109.                                     Value = 1
  110.  
  111.                                 }
  112.                             }
  113.                         }
  114.                     }
  115.                     [Then *]
  116.                     {
  117.  
  118.                         [: cESIf]
  119.                         {
  120.                             Note = ""
  121.  
  122.                             [Condition : cSIsSoundEventNotInRegistry]
  123.                             {
  124.                                 Note = ""
  125.                                 SoundOwner = 0
  126.                                 SoundType = 5
  127.                                 OmitSoundsByThisSquad = 0
  128.  
  129.                             }
  130.                             [Then *]
  131.                             {
  132.  
  133.                                 [: cESSetReturnValue]
  134.                                 {
  135.  
  136.                                     [Value : cESFIntConst]
  137.                                     {
  138.                                         Value = 1
  139.  
  140.                                     }
  141.                                 }
  142.                             }
  143.                             [Else *]
  144.                             {
  145.  
  146.                             }
  147.                         }
  148.                     }
  149.                     [Else *]
  150.                     {
  151.  
  152.                     }
  153.                 }
  154.             }
  155.         }
  156.     }
  157. }
  158.