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.Exec.inf < prev    next >
INI File  |  2002-10-14  |  1KB  |  119 lines

  1.  
  2. [Goal.Help.Exec : cESEvent]
  3. {
  4.     Name = Goal.Help.Exec
  5.     Enabled = 1
  6.     Type = 4
  7.     RefreshRate = 0
  8.  
  9.     [Procedures *]
  10.     {
  11.  
  12.         [: cESIf]
  13.         {
  14.             Note = "GoalState == 0 || HelpTarget nem ures"
  15.  
  16.             [Condition : cESCOr]
  17.             {
  18.                 Note = ""
  19.  
  20.                 [OrConditions *]
  21.                 {
  22.  
  23.                     [: cESCNumEquals]
  24.                     {
  25.                         Note = ""
  26.  
  27.                         [Value1 : cSGetGoalState]
  28.                         {
  29.  
  30.                         }
  31.                         [Value2 : cESFIntConst]
  32.                         {
  33.                             Value = 0
  34.  
  35.                         }
  36.                     }
  37.                     [: cESCNot]
  38.                     {
  39.                         Note = ""
  40.  
  41.                         [Condition : cMIsEmptyTarget]
  42.                         {
  43.                             Note = ""
  44.  
  45.                             [Target : cSRetrieveCmdTarget]
  46.                             {
  47.                                 VarName = HelpTarget
  48.  
  49.                             }
  50.                         }
  51.                     }
  52.                 }
  53.             }
  54.             [Then *]
  55.             {
  56.  
  57.                 [: cSSetGoalState]
  58.                 {
  59.  
  60.                     [State : cESFIntConst]
  61.                     {
  62.                         Value = 1
  63.  
  64.                     }
  65.                 }
  66.                 [: cSSetAIMode]
  67.                 {
  68.                     AIMode = 1
  69.  
  70.                     [Squad : cSGetByThisSquad]
  71.                     {
  72.  
  73.                     }
  74.                 }
  75.                 [: cESLog]
  76.                 {
  77.                     Text = "Help: Switching Movement Style for RUN."
  78.  
  79.                 }
  80.                 [: cCMoveTo]
  81.                 {
  82.                     Type = 1
  83.                     CommandDelay = 1
  84.                     Style = 3
  85.  
  86.                     [Squad : cSGetByThisSquad]
  87.                     {
  88.  
  89.                     }
  90.                     [Distance : cESFIntConst]
  91.                     {
  92.                         Value = 14
  93.  
  94.                     }
  95.                     [Target : cSRetrieveCmdTarget]
  96.                     {
  97.                         VarName = HelpTarget
  98.  
  99.                     }
  100.                 }
  101.                 [: cUStoreCmdTarget]
  102.                 {
  103.                     VarName = HelpTarget
  104.                     LocalVar = 0
  105.  
  106.                     [Target : cEmptyCommandTarget]
  107.                     {
  108.  
  109.                     }
  110.                 }
  111.             }
  112.             [Else *]
  113.             {
  114.  
  115.             }
  116.         }
  117.     }
  118. }
  119.