Hello everyone. How to write release in dungeon? when bot dies in dungeon it flies to the entrance and is trying to res the body which is not there ,instead of coming inside the dungeon. I have already tried a lot of options
does not work ,
does not work. Now I am trying to write through angel res and <CustomBehavior File="Hooks\DoWhen" ActivityName="WaitTimer" UseWhen="Me.HasAura(15007)"> but command -wait honorbuddy does not understand.
HTML:
<CustomBehavior File="Hooks\DoWhen" ActivityName="CustomDeathHook" AllowUseDuringCombat="True" AllowExecutionWhileNotAlive="true" UseWhen="!Me.IsAlive" >
<DisableBehavior Name="Death" />
<DisableBehavior Name="Vendor" />
<CustomBehavior File="WaitTimer" WaitTime="50000" TerminateWhen="!(Me.ZoneId == 755)" />
<CustomBehavior File="WaitTimer" WaitTime="1500" />
<CustomBehavior File="FlyTo" X="3988.296" Y="-2945.55" Z="1002.548" />
<CustomBehavior File="FlyTo" X="3985.842" Y="-2939.28" Z="1002.548" />
<CustomBehavior File="Misc\RunLua" Lua="MoveForwardStart();" WaitTime="3000" />
<CustomBehavior File="WaitTimer" WaitTime="50000" TerminateWhen="Me.ZoneId == 755" />
<CustomBehavior File="WaitTimer" WaitTime="1500" />
<EnableBehavior Name="Vendor" />
<EnableBehavior Name="Death" />
</CustomBehavior><CustomBehavior File="Hooks\DoWhen" ActivityName="CustomDeathHook" Command="Disable" />
HTML:
<CustomBehavior File="Hooks\DoWhen" ActivityName="DeadInDungeon" AllowUseDuringCombat="True" AllowExecutionWhileNotAlive="True" AllowUseInVehicle="True" AllowUseWhileMounted="True" AllowUseWhileFlying="True" UseWhen="!Me.IsAlive" >
<CustomBehavior File="RunCode" Code="Logging.Write(System.Windows.Media.Colors.DeepSkyBlue, "[Omation]: You just got KNOCKED THE FUCK OUT in Firestorm!!!");" />
<CustomBehavior File="Misc\RunLua" Lua="RepopMe();" WaitTime="500" />
<CustomBehavior File="WaitTimer" WaitTime="50000" TerminateWhen="!(Me.MapId == 720)" />
<CustomBehavior File="MyCTM" X="3798.478" Y="-3241.732" Z="1104.599" />
<CustomBehavior File="MyCTM" X="3991.628" Y="-2949.232" Z="1002.547" />
<CustomBehavior File="GoThruPortal" Timeout="30000" X="3982.845" Y="-2933.84" Z="1002.547" TerminateWhen="Me.MapId == 720"/>
<MoveTo X="-370.5505" Y="161.2445" Z="50.68102" />
</CustomBehavior>