home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2006 April / Gamestar_83_2006-04_dvd.iso / Dema / lotrbfme2_demo.exe / Data1.big / data_scripts_scriptevents.xml < prev    next >
Extensible Markup Language  |  2006-01-28  |  29KB  |  464 lines

  1. <?xml version="1.0"?>
  2. <SageLuaScriptSection xmlns="http://tempuri.org/ScriptEvents.xsd">
  3.     <Events>
  4.         <!-- All internal events have a first parameter of self, which is the object receiving the event.  They may have additial parameters, depending
  5.              on the specific event. -->
  6.         <InternalEvent Name="OnDamaged" /> <!-- OnDamaged(self, other) other is attacking object, may be nil -->
  7.         <InternalEvent Name="OnDestroyed" /> <!-- OnDestroyed(self) No parameters. Note that self is dead, but name and team are still valid. -->
  8.         <InternalEvent Name="OnArrived" /> <!-- OnArrived(self) Arrived at the end of a waypoint path.  No parameters. -->
  9.         <InternalEvent Name="OnUnitEntered" /> <!-- OnUnitEntered(self, areaName) Unit entered an area. Name of area is parameter. -->
  10.         <!-- disabled since its really slow and nobody is using it... [mh, 5/7/2004]--><InternalEvent Name="OnTeamEntered" /> <!-- OnTeamEntered(self, areaName) Sent to the last unit of a team entering an area. -->
  11.         <InternalEvent Name="OnUnitExited" /> <!-- OnUnitExited(self, areaName) Unit left an area. Name of area is parameter. -->
  12.         <!-- disabled since its really slow and nobody is using it... [mh, 5/7/2004] --><InternalEvent Name="OnTeamExited" /> <!-- OnTeamExited(self, areaName) Sent to the last unit of a team leaving an area. -->
  13.         <InternalEvent Name="OnTeamDestroyed" /> <!-- OnTeamDestroyed(self) Sent to the last unit of a team as it is destroyed. -->
  14.         <InternalEvent Name="BeScary" /> <!-- Broadcast to a unit when he uses a power that makes him radiate scariness.. -->
  15.         <InternalEvent Name="OnAflame" /> <!-- OnAflame(self) Broadcast to allies that I am on fire :) -->
  16.         <InternalEvent Name="OnQuenched" /> <!-- OnQuenched(self) Broadcast to allies that I am no longer on fire :) -->
  17.         <InternalEvent Name="OnCreated" /> <!-- OnCreated(self) sent when an object has been constructed -->
  18.         <InternalEvent Name="OnBuildingComplete" /> <!--OnBuildingComplete sent when an object has completed building. IE construction complete-->
  19.         <InternalEvent Name="DamageIncoming" /> <!-- DamageIncoming(self, other, delay, amount) other is shooter, delay is when the damage should hit, amount is how much.  So we can do a defense, or a "Oh heck" animation -->
  20.         <InternalEvent Name="OnSlaughtered" /> <!-- OnSlaughtered(self, slaughterer). -->
  21.         <InternalEvent Name="OnGenericEvent" /> <!-- self, string -->
  22.         <InternalEvent Name="OnBuildVariation" /> <!-- self, real -->
  23.  
  24.         <!-- Scripted events are of two kinds - first is one generated by the ObjectDispatchEvent or ObjectBroadcastEvent script.  The calling is
  25.             DispatchedEvent(self, dispatchingObject, arbitraryString)  -->
  26.         <ScriptedEvent Name="ExampleGuardMe" /> <!-- GuardMe(self, other, string) other is object generating the scripted event.  May be nil. -->
  27.         <!-- Second kind of scripted event is a spy event. --> 
  28.         <ScriptedEvent Name="ExampleSpyMoving" /> <!-- SpyMoving(self, spySelf, parameters...) spySelf is the object self is spying on, parameters is the spied event paramters, may be nil. -->
  29.         
  30.         <ScriptedEvent Name="BeAfraidOfBalrog" /> <!-- Becoming afraid of balrog -->
  31.         <ScriptedEvent Name="BeAfraidOfRampage" /> <!-- Becoming afraid of rampage -->
  32.         <ScriptedEvent Name="BeAfraidOfPhial" /> <!-- Becoming afraid of Frodo -->
  33.         <ScriptedEvent Name="BeUncontrollablyAfraid" /> <!-- Becoming afraid whether we like it or not -->
  34.         <ScriptedEvent Name="BeingEnraged" /> <!-- Be enraged! Revenge!! -->
  35.         <ScriptedEvent Name="BeAfraidOfGateDamaged" /> <!-- Be afraid of the gate being damaged -->
  36.         <ScriptedEvent Name="BeTerrified" /> <!-- Run Away! -->
  37.         
  38.         <ScriptedEvent Name="ChantForUnit" />        <!-- Chant for a special unit! -->
  39.         <ScriptedEvent Name="StopChantForUnit" />    <!-- Stop Chant for a special unit! -->
  40.         <ScriptedEvent Name="BeginChanting" />        <!-- Begin Chanting! -->
  41.         <ScriptedEvent Name="StopChanting" />        <!-- Stop Chanting! -->
  42.         
  43.         <!-- Cinematic Events -->
  44.         <ScriptedEvent Name="CinematicRampageDamaged" />
  45.         
  46.         <!-- All ModelCondition and ObjectStatus events have a single parameter of self, which is the object matching the conditions. -->
  47.         <ModelConditionEvent Name="OnFire"> <!-- OnFire(self) self is object matching the modelconditions specified. -->
  48.             <Conditions>-DYING +AFLAME</Conditions>
  49.         </ModelConditionEvent>
  50.         <ModelConditionEvent Name="ExampleMovingDamaged">
  51.             <Conditions>+MOVING +DAMAGED -AFLAME</Conditions>
  52.         </ModelConditionEvent>
  53.         <ModelConditionEvent Name="Moving">
  54.             <Conditions>+MOVING</Conditions>
  55.         </ModelConditionEvent>
  56.         <ModelConditionEvent Name="ReallyDamaged">
  57.             <Conditions>+REALLYDAMAGED</Conditions>
  58.         </ModelConditionEvent>
  59.     
  60.         <ModelConditionEvent Name="RecoverFromTerror">
  61.             <Conditions>-EMOTION_TERROR -DYING</Conditions>
  62.         </ModelConditionEvent>
  63.         
  64.         <ModelConditionEvent Name="UsingSpecialOne">
  65.             <Conditions>+SPECIAL_POWER_1 -UNPACKING -PACKING</Conditions>
  66.         </ModelConditionEvent>
  67.        
  68.         <ModelConditionEvent Name="UsingSpecialTwo">
  69.             <Conditions>+SPECIAL_POWER_2 -UNPACKING -PACKING</Conditions>
  70.         </ModelConditionEvent>
  71.         
  72.         <ModelConditionEvent Name="UsingSpecialThree">
  73.             <Conditions>+SPECIAL_POWER_3 -UNPACKING -PACKING</Conditions>
  74.         </ModelConditionEvent>
  75.         
  76.         <ModelConditionEvent Name="CinematicRampageUser">
  77.             <Conditions>+USER_4</Conditions>
  78.         </ModelConditionEvent>
  79.     </Events>
  80.     
  81.     <EventList Name="BaseScriptFunctions">
  82.         <!-- If there are any events that need to apply to all units, put them here. jba -->
  83.     </EventList>
  84.     
  85.     <EventList Name="CaptureFlagFunctions" Inherit="BaseScriptFunctions">
  86.         <EventHandler EventName="OnGenericEvent"    ScriptFunctionName="OnCaptureFlagGenericEvent" DebugSingleStep="false"/>
  87.     </EventList>
  88.  
  89.     <EventList Name="TrollFunctions" Inherit="BaseScriptFunctions">
  90.         <EventHandler EventName="ReallyDamaged"    ScriptFunctionName="GoIntoRampage" DebugSingleStep="false"/>
  91.         <EventHandler EventName="OnCreated" ScriptFunctionName="OnTrollCreated" DebugSingleStep="false"/>
  92.         <EventHandler EventName="OnGenericEvent" ScriptFunctionName="OnTrollGenericEvent" DebugSingleStep="false"/>
  93.         <EventHandler EventName="BeTerrified" ScriptFunctionName="BecomeTerrified" DebugSingleStep="false"/>
  94.     </EventList>
  95.  
  96.     <EventList Name="CreepTrollFunctions" Inherit="BaseScriptFunctions">
  97.         <EventHandler EventName="ReallyDamaged"    ScriptFunctionName="GoIntoRampage" DebugSingleStep="false"/>
  98.         <EventHandler EventName="OnCreated" ScriptFunctionName="OnCreepTrollCreated" DebugSingleStep="false"/>
  99.         <EventHandler EventName="OnGenericEvent" ScriptFunctionName="OnTrollGenericEvent" DebugSingleStep="false"/>
  100.         <EventHandler EventName="BeTerrified" ScriptFunctionName="BecomeTerrified" DebugSingleStep="false"/>
  101.     </EventList>
  102.  
  103.     <EventList Name="DrummerTrollFunctions" Inherit="BaseScriptFunctions">
  104.         <EventHandler EventName="BeScary"            ScriptFunctionName="RadiateTerrorEx"            DebugSingleStep="false"/>
  105.     </EventList>
  106.     
  107.     <EventList Name="BarrowWightFunctions" Inherit="BaseScriptFunctions">
  108.         <EventHandler EventName="BeTerrified" ScriptFunctionName="BecomeTerrified" DebugSingleStep="false"/>
  109.     </EventList>
  110.     
  111.     <EventList Name="SauronFunctions" Inherit="BaseScriptFunctions">
  112.         <EventHandler EventName="OnCreated"            ScriptFunctionName="OnMordorSauronCreated"        DebugSingleStep="false"/>
  113.         <EventHandler EventName="BeScary"            ScriptFunctionName="RadiateTerrorEx"            DebugSingleStep="false"/>
  114.     </EventList>
  115.    
  116.     <EventList Name="MumakilFunctions" Inherit="BaseScriptFunctions">
  117.         <EventHandler EventName="OnCreated" ScriptFunctionName="OnMumakilCreated" DebugSingleStep="false"/>
  118.     </EventList>
  119.     
  120.     <EventList Name="SunbeamFunctions" Inherit="BaseScriptFunctions">
  121.         <EventHandler EventName="BeScary" ScriptFunctionName="RadiateTerrorEx" DebugSingleStep="false"/>
  122.     </EventList>
  123.  
  124.     <EventList Name="TheodenFunctions" Inherit="BaseScriptFunctions">
  125.     </EventList>
  126.     
  127.     <EventList Name="BallistaFunctions" Inherit="BaseScriptFunctions">
  128.         <EventHandler EventName="OnCreated" ScriptFunctionName="OnBallistaCreated" DebugSingleStep="false"/>
  129.     </EventList>
  130.     
  131.     <EventList Name="CatapultFunctions" Inherit="BaseScriptFunctions">
  132.         <EventHandler EventName="OnCreated" ScriptFunctionName="OnCatapultCreated" DebugSingleStep="false"/>
  133.     </EventList>
  134.     
  135.     <EventList Name="TrebuchetFunctions" Inherit="BaseScriptFunctions">
  136.         <EventHandler EventName="OnCreated" ScriptFunctionName="OnTrebuchetCreated" DebugSingleStep="false"/>
  137.     </EventList>
  138.     
  139.     <EventList Name="StandardPorterFunctions" Inherit="BaseScriptFunctions">
  140.         <EventHandler EventName="BeTerrified" ScriptFunctionName="BecomeTerrified" DebugSingleStep="false"/>
  141.         <EventHandler EventName="OnCreated" ScriptFunctionName="OnPorterCreated" DebugSingleStep="false"/>
  142.     </EventList>
  143.  
  144.     <EventList Name="EvilPorterFunctions" Inherit="InfantryFunctions">
  145.         <EventHandler EventName="BeTerrified" ScriptFunctionName="BecomeTerrified" DebugSingleStep="false"/>
  146.         <EventHandler EventName="OnCreated" ScriptFunctionName="OnEvilPorterCreated" DebugSingleStep="false"/>
  147.     </EventList>
  148.     
  149.     <EventList Name="StandardPeasantFunctions" Inherit="BaseScriptFunctions">
  150.         <EventHandler EventName="OnCreated" ScriptFunctionName="OnPeasantCreated" DebugSingleStep="false"/>
  151.     </EventList>
  152.     
  153.     <EventList Name="GandalfFunctions" Inherit="BaseScriptFunctions">
  154.         <!-- <EventHandler EventName="DamageIncoming" ScriptFunctionName="GandalfConsiderUsingDefensePower" DebugSingleStep="false"/> -->
  155.         <EventHandler EventName="UsingSpecialOne" ScriptFunctionName="GandalfTriggerWizardBlast" DebugSingleStep="false"/>
  156.     </EventList>
  157.     
  158.      <EventList Name="SarumanFunctions" Inherit="BaseScriptFunctions">
  159.          <!-- <EventHandler EventName="DamageIncoming" ScriptFunctionName="SarumanConsiderUsingDefensePower" DebugSingleStep="false"/> -->
  160.     </EventList>
  161.    
  162.     <EventList Name="LegolasFunctions" Inherit="BaseScriptFunctions">
  163.         <EventHandler EventName="OnCreated"                ScriptFunctionName="OnLegolasCreated" DebugSingleStep="false"/>
  164.     </EventList> 
  165.     
  166.     <EventList Name="GaladrielFunctions" Inherit="BaseScriptFunctions">
  167.         <EventHandler EventName="BeScary" ScriptFunctionName="RadiateTerrorEx" DebugSingleStep="false"/>
  168.     </EventList>
  169.     
  170.     <EventList Name="MinisTirithGateFunctions" Inherit="BaseScriptFunctions">
  171.         <EventHandler EventName="OnDamaged" ScriptFunctionName="RadiateGateDamageFear" DebugSingleStep="false"/>  
  172.     </EventList>
  173.     
  174.     <EventList Name="InfantryFunctions" Inherit="BaseScriptFunctions">
  175.         <!-- These are events that will apply to all infantry.  Any infantry units should inherit this set. jba -->
  176.         <EventHandler EventName="BeAfraidOfBalrog"            ScriptFunctionName="BecomeAfraidOfBalrog"        DebugSingleStep="false"/>
  177.         <EventHandler EventName="BeAfraidOfRampage"            ScriptFunctionName="BecomeAfraidOfRampage"        DebugSingleStep="false"/>
  178.         <EventHandler EventName="BeTerrified"                ScriptFunctionName="BecomeTerrified"            DebugSingleStep="false"/>
  179.         <EventHandler EventName="BeUncontrollablyAfraid"    ScriptFunctionName="BecomeUncontrollablyAfraid" DebugSingleStep="false"/>
  180.     </EventList>
  181.     
  182.     <EventList Name="InfantryBannerFunctions" Inherit="BaseScriptFunctions">
  183.         <EventHandler EventName="OnCreated"                    ScriptFunctionName="OnInfantryBannerCreated"    DebugSingleStep="false"/>
  184.         <!-- These are events that will apply to all infantry.  Any infantry units should inherit this set. jba -->
  185.         <EventHandler EventName="BeAfraidOfBalrog"            ScriptFunctionName="BecomeAfraidOfBalrog"        DebugSingleStep="false"/>
  186.         <EventHandler EventName="BeAfraidOfRampage"            ScriptFunctionName="BecomeAfraidOfRampage"        DebugSingleStep="false"/>
  187.         <EventHandler EventName="BeTerrified"                ScriptFunctionName="BecomeTerrified"            DebugSingleStep="false"/>
  188.         <EventHandler EventName="BeUncontrollablyAfraid"    ScriptFunctionName="BecomeUncontrollablyAfraid" DebugSingleStep="false"/>
  189.     </EventList>
  190.     
  191.     <EventList Name="WildInfantryFunctions" Inherit="InfantryFunctions">
  192.         <!-- These are events that apply to all wild infantry -->
  193.         <EventHandler EventName="BeAfraidOfPhial"            ScriptFunctionName="WildInfantryBecomeAfraidOfPhial"    DebugSingleStep="false"/>
  194.     </EventList>
  195.     
  196.     
  197.     <EventList Name="CavalryFunctions" Inherit="BaseScriptFunctions">
  198.         <!-- These are events that will apply to all infantry.  Any infantry units should inherit this set. jba -->
  199.         <EventHandler EventName="OnCreated"    ScriptFunctionName="OnCavalryCreated"        DebugSingleStep="false"/>
  200.         <EventHandler EventName="BeAfraidOfBalrog"    ScriptFunctionName="BecomeAfraidOfBalrog"        DebugSingleStep="false"/>
  201.         <EventHandler EventName="BeAfraidOfRampage"    ScriptFunctionName="BecomeAfraidOfRampage"        DebugSingleStep="false"/>
  202.         <EventHandler EventName="BeTerrified"            ScriptFunctionName="BecomeTerrified" DebugSingleStep="false"/>
  203.         <EventHandler EventName="BeUncontrollablyAfraid"    ScriptFunctionName="BecomeUncontrollablyAfraid" DebugSingleStep="false"/>
  204.     </EventList>
  205.  
  206.     <EventList Name="RohirrimFunctions" Inherit="CavalryFunctions">
  207.         <EventHandler EventName="OnCreated" ScriptFunctionName="OnRohirrimCreated" DebugSingleStep="false"/>
  208.     </EventList>
  209.  
  210.     <EventList Name="SummonedRohirrimFunctions" Inherit="CavalryFunctions">
  211.         <EventHandler EventName="OnCreated" ScriptFunctionName="OnSummonedRohirrimCreated" DebugSingleStep="false"/>
  212.     </EventList>
  213.     
  214.     <EventList Name="WildSpiderFunctions" Inherit="CavalryFunctions">
  215.         <!-- This contains events specific to the wild spider riders-->
  216.          <EventHandler EventName="OnCreated" ScriptFunctionName="OnWildSpiderRiderCreated" DebugSingleStep="false"/>
  217.          <EventHandler EventName="BeAfraidOfPhial"            ScriptFunctionName="MordorFighterBecomeAfraidOfPhial"            DebugSingleStep="false"/>
  218.     </EventList>
  219.  
  220.     <EventList Name="HaradrimArcherFunctions" Inherit="CavalryFunctions">
  221.         <!-- This contains events specific to the wild spider riders-->
  222.          <EventHandler EventName="OnCreated" ScriptFunctionName="OnHaradrimArcherCreated" DebugSingleStep="false"/>
  223.     </EventList>
  224.  
  225.     <EventList Name="IsengardWildmanFunctions" Inherit="CavalryFunctions">
  226.         <!-- This contains events specific to the Isengard Wildmen-->
  227.          <EventHandler EventName="OnCreated" ScriptFunctionName="OnIsengardWildmanCreated" DebugSingleStep="false"/>
  228.     </EventList>
  229.         
  230.     <EventList Name="GondorCavalryFunctions" Inherit="CavalryFunctions">
  231.         <EventHandler EventName="OnCreated" ScriptFunctionName="OnGondorCavalryCreated" DebugSingleStep="false"/>
  232.     </EventList>
  233.     
  234.     <EventList Name="DwarvenBattleWagonFunctions" Inherit="GondorCavalryFunctions">
  235.         <EventHandler EventName="OnCreated" ScriptFunctionName="OnDwarvenBattleWagonCreated" DebugSingleStep="false"/>
  236.     </EventList>
  237.  
  238.     <EventList Name="EvilMenBlackRiderFunctions" Inherit="CavalryFunctions">
  239.         <EventHandler EventName="OnCreated" ScriptFunctionName="OnEvilMenBlackRiderCreated" DebugSingleStep="false"/>
  240.         <EventHandler EventName="BeScary" ScriptFunctionName="RadiateTerrorEx" DebugSingleStep="false"/>
  241.         <EventHandler EventName="UsingSpecialOne"        ScriptFunctionName="RadiateUncontrollableFear"    DebugSingleStep="false"/>
  242.     </EventList>
  243.         
  244.     <EventList Name="ArcherFunctions" Inherit="InfantryFunctions">
  245.     </EventList>
  246.     
  247.     <EventList Name="GondorArcherFunctions" Inherit="ArcherFunctions">
  248.         <EventHandler EventName="OnCreated"                ScriptFunctionName="OnGondorArcherCreated" DebugSingleStep="false"/>
  249.     </EventList> 
  250.  
  251.     <EventList Name="RohanArcherFunctions" Inherit="ArcherFunctions">
  252.         <EventHandler EventName="OnCreated"                ScriptFunctionName="OnRohanArcherCreated" DebugSingleStep="false"/>
  253.     </EventList> 
  254.  
  255.     <EventList Name="RohanElvenWarriorFunctions" Inherit="InfantryFunctions">
  256.         <EventHandler EventName="OnCreated"                ScriptFunctionName="OnElvenWarriorCreated" DebugSingleStep="false"/>
  257.     </EventList> 
  258.     
  259.     <EventList Name="RangerFunctions" Inherit="ArcherFunctions">
  260.         <EventHandler EventName="OnCreated"                ScriptFunctionName="OnGondorArcherCreated" DebugSingleStep="false"/>
  261.     </EventList>    
  262.     
  263.     <EventList Name="FellBeastFunctions">
  264.         <EventHandler EventName="BeScary" ScriptFunctionName="RadiateTerrorEx" DebugSingleStep="false"/>
  265.     </EventList>
  266.     
  267.     <EventList Name="DragonStrikeDragonFunctions">
  268.         <EventHandler EventName="OnCreated"            ScriptFunctionName="DragonStrikeDragonCreated" DebugSingleStep="false"/>
  269.     </EventList>
  270.  
  271.     <EventList Name="ShelobFunctions">
  272.         <EventHandler EventName="BeAfraidOfPhial"    ScriptFunctionName="ShelobBecomeAfraidOfPhial" DebugSingleStep="false"/>
  273.         <EventHandler EventName="BeScary"            ScriptFunctionName="RadiateTerrorEx" DebugSingleStep="false"/>
  274.         <EventHandler EventName="BeTerrified"        ScriptFunctionName="BecomeTerrified" DebugSingleStep="false"/>
  275.     </EventList>
  276.  
  277.     <EventList Name="GwaihirFunctions">
  278.     </EventList>
  279.  
  280.     <EventList Name="EntFunctions" Inherit="BaseScriptFunctions">
  281.         <!-- This contains events specific to Ents. -->
  282.         <EventHandler EventName="OnDestroyed"    ScriptFunctionName="BeEnraged"        DebugSingleStep="false"/>        
  283.         <EventHandler EventName="BeingEnraged"    ScriptFunctionName="BecomeEnraged"    DebugSingleStep="false"/>        
  284.         <EventHandler EventName="OnAflame"        ScriptFunctionName="BecomeEnraged"    DebugSingleStep="false"/>        
  285.         <EventHandler EventName="OnQuenched"    ScriptFunctionName="StopEnraged"    DebugSingleStep="false"/>        
  286.         <EventHandler EventName="OnCreated"        ScriptFunctionName="OnEntCreated"    DebugSingleStep="false"/>
  287.     </EventList>
  288.  
  289.     <EventList Name="MountainGiantFunctions" Inherit="BaseScriptFunctions">
  290.         <!-- This contains events specific to Ents. -->
  291.         <EventHandler EventName="OnCreated"        ScriptFunctionName="OnMountainGiantCreated"    DebugSingleStep="false"/>
  292.         <EventHandler EventName="OnGenericEvent" ScriptFunctionName="OnMountainGiantGenericEvent" DebugSingleStep="false"/>
  293.     </EventList>
  294.  
  295.     <EventList Name="MordorGrondFunctions" Inherit="BaseScriptFunctions">
  296.         <!-- This contains events specific to the Grond. -->
  297.         <EventHandler EventName="OnUnitEntered" ScriptFunctionName="ChantForUnit"        DebugSingleStep="false"/>
  298.         <EventHandler EventName="OnUnitExited"    ScriptFunctionName="StopChantForUnit"    DebugSingleStep="false"/>
  299.         <EventHandler EventName="OnDestroyed"    ScriptFunctionName="StopChantForUnit"    DebugSingleStep="false"/>        
  300.     </EventList>
  301.  
  302.     <EventList Name="MordorOrcFunctions" Inherit="InfantryFunctions">
  303.         <!-- This contains events specific to the Orc units. -->
  304.         <EventHandler EventName="BeginChanting"        ScriptFunctionName="BeginCheeringForGrond"    DebugSingleStep="false"/>
  305.         <EventHandler EventName="StopChanting"        ScriptFunctionName="StopCheeringForGrond"    DebugSingleStep="false"/>
  306.     </EventList>
  307.  
  308.     <EventList Name="MordorArcherFunctions" Inherit="InfantryFunctions">
  309.         <EventHandler EventName="OnCreated"            ScriptFunctionName="OnMordorArcherCreated" DebugSingleStep="false"/>
  310.     </EventList>
  311.  
  312.     <EventList Name="MordorFighterFunctions" Inherit="MordorOrcFunctions">
  313.         <!-- This contains events specific to the MordorFighter. Kris -->
  314.         <EventHandler EventName="BeAfraidOfPhial"            ScriptFunctionName="MordorFighterBecomeAfraidOfPhial"            DebugSingleStep="false"/>
  315.         <EventHandler EventName="BeUncontrollablyAfraid"    ScriptFunctionName="MordorFighterBecomeUncontrollablyAfraid"     DebugSingleStep="false"/>
  316.     </EventList>
  317.  
  318.     <EventList Name="MordorInfantryBannerFunctions" Inherit="MordorOrcFunctions">
  319.         <EventHandler EventName="OnCreated"                    ScriptFunctionName="OnInfantryBannerCreated"    DebugSingleStep="false"/>
  320.         <!-- This contains events specific to the MordorFighter. Kris -->
  321.         <EventHandler EventName="BeAfraidOfPhial"            ScriptFunctionName="MordorFighterBecomeAfraidOfPhial"            DebugSingleStep="false"/>
  322.         <EventHandler EventName="BeUncontrollablyAfraid"    ScriptFunctionName="MordorFighterBecomeUncontrollablyAfraid"     DebugSingleStep="false"/>
  323.     </EventList>
  324.  
  325.  
  326.     <EventList Name="MordorCorsairFunctions" Inherit="InfantryFunctions">
  327.         <!-- This contains events specific to the Gondor Fighter horde member. jba -->
  328.         <EventHandler EventName="OnCreated"                ScriptFunctionName="OnMordorCorsairCreated" DebugSingleStep="false"/>
  329.         <EventHandler EventName="RecoverFromTerror"        ScriptFunctionName="GondorFighterRecoverFromTerror"                DebugSingleStep="false"/>
  330.         <EventHandler EventName="BeAfraidOfGateDamaged" ScriptFunctionName="GondorFighterBecomeAfraidOfGateDamaged"        DebugSingleStep="false"/>
  331.     </EventList>
  332.  
  333.     <EventList Name="WildGoblinArcherFunctions" Inherit="MordorOrcFunctions">
  334.         <!-- This contains events specific to the GoblinArcherFunctions. Kris -->
  335.         <EventHandler EventName="BeAfraidOfPhial"            ScriptFunctionName="MordorFighterBecomeAfraidOfPhial"            DebugSingleStep="false"/>
  336.         <EventHandler EventName="BeUncontrollablyAfraid"    ScriptFunctionName="MordorFighterBecomeUncontrollablyAfraid"     DebugSingleStep="false"/>
  337.         <EventHandler EventName="OnCreated"                ScriptFunctionName="OnWildGoblinArcherCreated" DebugSingleStep="false"/>        
  338.     </EventList>
  339.  
  340.  
  341.     <EventList Name="IsengardFighterFunctions" Inherit="MordorFighterFunctions">
  342.         <!-- This contains events specific to the IsengardFighter. Kris -->
  343.         <EventHandler EventName="OnCreated"                ScriptFunctionName="OnIsengardFighterCreated" DebugSingleStep="false"/>
  344.     </EventList>
  345.  
  346.     <EventList Name="WargRiderFunctions" Inherit="MordorFighterFunctions">
  347.         <!-- This contains events specific to the IsengardFighter. Kris -->
  348.         <EventHandler EventName="OnCreated"                ScriptFunctionName="OnIsengardFighterCreated" DebugSingleStep="false"/>
  349.     </EventList>
  350.  
  351.     <EventList Name="IsengardArcherFunctions" Inherit="MordorFighterFunctions">
  352.         <!-- This contains events specific to the IsengardArhcer. Kris -->
  353.         <EventHandler EventName="OnCreated"                ScriptFunctionName="OnIsengardArcherCreated" DebugSingleStep="false"/>
  354.     </EventList>
  355.  
  356.     <EventList Name="HaradrimFunctions" Inherit="InfantryFunctions">
  357.         <!-- This contains events specific to the Haradrim -->
  358.     </EventList>
  359.     
  360.     <EventList Name="GondorFighterFunctions" Inherit="InfantryFunctions">
  361.         <!-- This contains events specific to the Gondor Fighter horde member. jba -->
  362.         <EventHandler EventName="OnCreated"                ScriptFunctionName="OnGondorFighterCreated" DebugSingleStep="false"/>
  363.         <EventHandler EventName="RecoverFromTerror"        ScriptFunctionName="GondorFighterRecoverFromTerror"                DebugSingleStep="false"/>
  364.         <EventHandler EventName="BeAfraidOfGateDamaged" ScriptFunctionName="GondorFighterBecomeAfraidOfGateDamaged"        DebugSingleStep="false"/>
  365.     </EventList>
  366.  
  367.     <EventList Name="GondorFighterHordeFunctions" Inherit="GondorFighterFunctions">
  368.         <!-- This contains events specific to the Gondor Fighter horde brain. Ian -->
  369.     </EventList>
  370.  
  371.     <EventList Name="BoromirFunctions" Inherit="BaseScriptFunctions">
  372.         <!-- This contains events specific to Boromir -->
  373.         <EventHandler EventName="UsingSpecialOne"        ScriptFunctionName="RadiateUncontrollableFear"    DebugSingleStep="false"/>
  374.     </EventList>
  375.     
  376.     <EventList Name="AragornFunctions" Inherit="BaseScriptFunctions">
  377.         <!-- This contains events specific to Boromir -->
  378.         <EventHandler EventName="OnCreated"                ScriptFunctionName="OnAragornCreated" DebugSingleStep="false"/>
  379.         <EventHandler EventName="UsingSpecialOne"        ScriptFunctionName="RadiateTerror"    DebugSingleStep="false"/>
  380.     </EventList>
  381.  
  382.     <EventList Name="FrodoFunctions" Inherit="BaseScriptFunctions">
  383.         <!-- This contains events specific to Frodo -->
  384.         <EventHandler EventName="UsingSpecialOne"        ScriptFunctionName="RadiatePhialFear"    DebugSingleStep="false"/>
  385.     </EventList>
  386.     
  387.     <EventList Name="FramFunctions" Inherit="FrodoFunctions">
  388.         <!-- This contains events specific to Frodo -->
  389.         <EventHandler EventName="onCreated"    ScriptFunctionName="MakeMeAlert"    DebugSingleStep="false"/>
  390.     </EventList>    
  391.  
  392.     <EventList Name="BalrogFunctions" Inherit="BaseScriptFunctions">
  393.         <!-- This contains events specific to Balrog -->
  394.         <EventHandler EventName="UsingSpecialOne"        ScriptFunctionName="RadiateTerror"                DebugSingleStep="false"/>
  395.         <EventHandler EventName="UsingSpecialTwo"        ScriptFunctionName="BalrogTriggerBreatheFire"        DebugSingleStep="false"/>
  396.     </EventList>
  397.     
  398.     <EventList Name="DemoMumakilFunctions" Inherit="BaseScriptFunctions">
  399.         <EventHandler EventName="OnFire"    ScriptFunctionName="GoIntoRampage"  DebugSingleStep="false"/>
  400.     </EventList>
  401.  
  402.     <EventList Name="DwarvenGuardianFunctions" Inherit="InfantryFunctions">
  403.         <!-- This contains events specific to the Gondor Fighter horde member. jba -->
  404.         <EventHandler EventName="OnCreated"                ScriptFunctionName="OnDwarvenGuardianCreated" DebugSingleStep="false"/>
  405.     </EventList>
  406.     
  407.     <!-- Cinematic Lua Event Lists -->
  408.     <EventList Name="CinematicMumakilFunctions" Inherit="BaseScriptFunctions">
  409.         <EventHandler EventName="CinematicRampageUser"    ScriptFunctionName="GoIntoRampage" DebugSingleStep="false"/>
  410.     </EventList>
  411.  
  412.     <!-- Generic keep Lua Event Lists -->
  413.     <EventList Name="GarrisonableFunctions">
  414.         <EventHandler EventName="OnCreated"    ScriptFunctionName="OnGarrisonableCreated" DebugSingleStep="false"/>
  415.     </EventList>
  416.     
  417.     <EventList Name="CreateAHeroFunctions" Inherit="BaseScriptFunctions">
  418.         <EventHandler EventName="OnCreated"                ScriptFunctionName="OnCreateAHeroFunctions" DebugSingleStep="false"/>
  419.         <EventHandler EventName="OnGenericEvent"        ScriptFunctionName="CreateAHeroHideEverything" DebugSingleStep="false"/>
  420.         <EventHandler EventName="BeScary"                ScriptFunctionName="RadiateTerrorEx" DebugSingleStep="false"/>
  421.         <EventHandler EventName="UsingSpecialOne"        ScriptFunctionName="RadiateTerror"    DebugSingleStep="false"/>
  422.     </EventList> 
  423.     
  424.     <EventList Name="EvilShipFunctions" Inherit="BaseScriptFunctions">
  425.         <EventHandler EventName="OnCreated"                ScriptFunctionName="OnEvilShipCreated" DebugSingleStep="false"/>
  426.     </EventList>
  427.     
  428.     <EventList Name="GoodShipFunctions" Inherit="BaseScriptFunctions">
  429.         <EventHandler EventName="OnCreated"                ScriptFunctionName="OnGoodShipCreated" DebugSingleStep="false"/>
  430.     </EventList>
  431.     
  432.     <EventList Name="ShipWrightFunctions" Inherit="BaseScriptFunctions">
  433.         <EventHandler EventName="OnCreated"                ScriptFunctionName="OnShipWrightCreated" DebugSingleStep="false"/>
  434.     </EventList>
  435.     
  436.     <EventList Name="FortressFunctions" Inherit="BaseScriptFunctions">
  437.         <EventHandler EventName="OnCreated"                ScriptFunctionName="OnFortressCreated" DebugSingleStep="false"/>
  438.     </EventList>
  439.  
  440.     <EventList Name="DormitoryFunctions" Inherit="BaseScriptFunctions">
  441.         <EventHandler EventName="OnBuildVariation"        ScriptFunctionName="OnDormitoryBuildVariation" DebugSingleStep="false"/>
  442.     </EventList>
  443.  
  444.     <EventList Name="GateWatchersFunctions" Inherit="BaseScriptFunctions">
  445.         <EventHandler EventName="OnBuildingComplete"    ScriptFunctionName="OnGateWatcherBuilt" DebugSingleStep="false"/>
  446.         <EventHandler EventName="BeScary"                ScriptFunctionName="RadiateTerrorEx" DebugSingleStep="false"/>
  447.     </EventList>
  448.  
  449.     <EventList Name="NeutralGollum_RingStealerFunctions" Inherit="BaseScriptFunctions">
  450.         <EventHandler EventName="OnDamaged" ScriptFunctionName="NeutralGollum_RingStealerDamaged" DebugSingleStep="false"/>  
  451.         <EventHandler EventName="OnSlaughtered" ScriptFunctionName="NeutralGollum_RingStealerSlaughtered" DebugSingleStep="false"/>  
  452.     </EventList>
  453.     
  454.     <EventList Name="TomBombadil_Functions" Inherit="BaseScriptFunctions">
  455.         <EventHandler EventName="BeScary"                ScriptFunctionName="RadiateTerrorEx" DebugSingleStep="false"/>        
  456.     </EventList>
  457.     
  458.     <EventList Name="NecromancerStatue_Functions" Inherit="BaseScriptFunctions">
  459.         <EventHandler EventName="OnCreated"                ScriptFunctionName="OnNecromancerStatueCreated" DebugSingleStep="false"/>
  460.         <EventHandler EventName="BeScary"                ScriptFunctionName="RadiateTerrorEx" DebugSingleStep="false"/>        
  461.     </EventList>
  462.     
  463. </SageLuaScriptSection>
  464.