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

  1.  
  2. [Goal.Help.Eval : cESEvent]
  3. {
  4.     Name = Goal.Help.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 : cESCNot]
  74.                     {
  75.                         Note = ""
  76.  
  77.                         [Condition : cMIsEmptyTarget]
  78.                         {
  79.                             Note = ""
  80.  
  81.                             [Target : cSRetrieveCmdTarget]
  82.                             {
  83.                                 VarName = HelpTarget
  84.  
  85.                             }
  86.                         }
  87.                     }
  88.                     [Then *]
  89.                     {
  90.  
  91.                         [: cESSetReturnValue]
  92.                         {
  93.  
  94.                             [Value : cESFIntConst]
  95.                             {
  96.                                 Value = 1
  97.  
  98.                             }
  99.                         }
  100.                     }
  101.                     [Else *]
  102.                     {
  103.  
  104.                     }
  105.                 }
  106.             }
  107.         }
  108.     }
  109. }
  110.