View Full Version : Escape spawn when pk.
Azeron92
05-10-2017, 03:55 AM
Hello :)
Someone has a script to leave respawn when another player is attacking me??
Trykon
05-10-2017, 03:13 PM
Hello :)
Someone has a script to leave respawn when another player is attacking me??
That would require changing whole script.
You need module running that if you see white skull you set
WhiteSkull = true
And on checker
If WhiteSkull then
GoToLabel("Leave")
Ofc you can do the same with red skull... There was similar thread some time ago. Use search please.
ctmwnrqlo
05-11-2017, 01:34 AM
BattleMessageProxy.OnReceive('Leave_If_Player_Atta ck', function(proxy, message)
damage, creature = string.match(message, 'You lose (%d+) %a+ due to an attack by (.+).')
if Creature.New(creature):isPlayer() then
print("[BOT] Player attacked you, leaving to safe spot.")
Targeting.Stop()
Looter.Stop()
Walker.Goto("NameOfLabelToGo")
wait(2000, 3000)
end
end)
other script :p
Trykon
05-11-2017, 05:48 PM
BattleMessageProxy.OnReceive('Leave_If_Player_Atta ck', function(proxy, message)
damage, creature = string.match(message, 'You lose (%d+) %a+ due to an attack by (.+).')
if Creature.New(creature):isPlayer() then
print("[BOT] Player attacked you, leaving to safe spot.")
Targeting.Stop()
Looter.Stop()
Walker.Goto("NameOfLabelToGo")
wait(2000, 3000)
end
end)
other script :p
the problem with this is if you hunt on more than one floor
ctmwnrqlo
05-11-2017, 10:37 PM
yes, but you can make a 2 labels for leave spawn, for example, Walker.Goto("NameOfLabelToGo1") and in this label you make other with Walker.Goto("escape of pk or exitspawn"), it easy :d
Trykon
05-11-2017, 11:54 PM
yes, but you can make a 2 labels for leave spawn, for example, Walker.Goto("NameOfLabelToGo1") and in this label you make other with Walker.Goto("escape of pk or exitspawn"), it easy :d
yea yeah... just first thing i thought about was my mutated humans with a lot of buildings, floors and caves... this makes it a bit difficult. I would make it as I said on checker ;)
ctmwnrqlo
05-14-2017, 12:47 AM
uhm, yeah, but with a lot of labels, it can works very fine :p
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.