What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Die in dungeon

mopiiex

New Member
Joined
Nov 18, 2015
Messages
2
Reaction score
0
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
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" />
does not work ,
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, &quot;[Omation]: You just got KNOCKED THE FUCK OUT in Firestorm!!!&quot;);" />
      <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>
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.
 
I have not done low level dungeons in a while, I thought all dungeons were changed so that when you died you spawned inside (but at the entrance)?
I would personally write a plugin in C# to do this, mainly because i have no idea what that XML file you linked is meant to do, and C# is so easy.
Just look at the "Anti-Drown" plugin source code, good basic example where to start.
 
As far as I can remember, the Death_Hook wasn't allowing interruptions from other hooks or overrides.
Death support in dungeon was techincally impossible because of this.

It worked at one time, now it doesn't.

Normally you'd use TreeHookName="Death_Main" to have it override it, but I doubt it would work.
 
Back
Top