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

  1.  
  2. [Goal.Assault_Sniper_All_A.Eval : cESEvent]
  3. {
  4.     Name = Goal.Assault_Sniper_All_A.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.                         [: cUStoreCmdTarget]
  64.                         {
  65.                             VarName = SquadToAttack
  66.                             LocalVar = 0
  67.  
  68.                             [Target : cEmptyCommandTarget]
  69.                             {
  70.  
  71.                             }
  72.                         }
  73.                         [: cESLog]
  74.                         {
  75.                             Text = "Clearing SquadToAttack."
  76.  
  77.                         }
  78.                     }
  79.                 }
  80.             }
  81.             [Else *]
  82.             {
  83.  
  84.                 [: cESSubrutine]
  85.                 {
  86.                     Subrutine = sSub.SetWeapon_Sniper
  87.  
  88.                 }
  89.                 [: cESIf]
  90.                 {
  91.                     Note = "Has Ammo?"
  92.  
  93.                     [Condition : cESCNumGreater]
  94.                     {
  95.                         Note = ""
  96.  
  97.                         [Value1 : cGGetSumAmmo]
  98.                         {
  99.                             AmmoType = 0
  100.                             AnyWeapon = 0
  101.  
  102.                             [Squad : cSGetByThisSquad]
  103.                             {
  104.  
  105.                             }
  106.                         }
  107.                         [Value2 : cESFIntConst]
  108.                         {
  109.                             Value = 0
  110.  
  111.                         }
  112.                     }
  113.                     [Then *]
  114.                     {
  115.  
  116.                         [: cESIf]
  117.                         {
  118.                             Note = "Van celpont es nem guard"
  119.  
  120.                             [Condition : cESCAnd]
  121.                             {
  122.                                 Note = ""
  123.  
  124.                                 [AndConditions *]
  125.                                 {
  126.  
  127.                                     [: cESCNumNotEquals]
  128.                                     {
  129.                                         Note = ""
  130.  
  131.                                         [Value1 : cESFIntFromMember]
  132.                                         {
  133.                                             VariableName = GuardMode
  134.  
  135.                                             [Object : cSGetByThisSquad]
  136.                                             {
  137.  
  138.                                             }
  139.                                         }
  140.                                         [Value2 : cESFIntConst]
  141.                                         {
  142.                                             Value = 1
  143.  
  144.                                         }
  145.                                     }
  146.                                     [: cESCNot]
  147.                                     {
  148.                                         Note = ""
  149.  
  150.                                         [Condition : cMIsEmptyTarget]
  151.                                         {
  152.                                             Note = ""
  153.  
  154.                                             [Target : cSRetrieveCmdTarget]
  155.                                             {
  156.                                                 VarName = SquadToAttack
  157.  
  158.                                             }
  159.                                         }
  160.                                     }
  161.                                 }
  162.                             }
  163.                             [Then *]
  164.                             {
  165.  
  166.                                 [: cESSetReturnValue]
  167.                                 {
  168.  
  169.                                     [Value : cESFIntConst]
  170.                                     {
  171.                                         Value = 1
  172.  
  173.                                     }
  174.                                 }
  175.                             }
  176.                             [Else *]
  177.                             {
  178.  
  179.                             }
  180.                         }
  181.                     }
  182.                     [Else *]
  183.                     {
  184.  
  185.                     }
  186.                 }
  187.             }
  188.         }
  189.     }
  190. }
  191.