Brodie301 wrote:No it looks and works great for grabbing at anytime, but if I change the notake script above to ancient_axe I can still grab it at anytime but the notake script works on the dismantler.
Brodie301 wrote:No it looks and works great for grabbing at anytime, but if I change the notake script above to ancient_axe I can still grab it at anytime but the notake script works on the dismantler.
As far as I can see just changing to ancient_axe should not change it's behaviour.
It might be in the definition or script of the items.
If you're still looking for help, please try these steps:
1) Put back the dismantler and test it
2) If it works with the dismantler (meaning: you can't take it untill you're all level 5), replace it with your axe.
3) If the behaviour is different with the axe, please post all needed files so we can take a look at those. This includes the definition of the alcove, the sword that works and the one that doesn't.
4) If you don't want to publish the source then use the code below and report the outcome with you use the dismantler and when you use the axe.
function donottake()
print("a")
local max = 0
print("b")
for i = 1, 4 do
print("c")
if party:getChampion(i):getLevel() > 5 then
print("d")
max = 1
print("e")
break
end
print("f")
end
print("g")
if max == 0 then
print("h")
boulder_socket_1:addItem(spawn("dismantler"))
setMouseItem(nil)
else
print("i")
door_1:open()
door_2:open()
end
print("j")
end
P.S. If I have a situation like this, it's usually because i have a script running at startup leveling the whole team up to lvl 5, so it seems not to be working with ancient_axe.
