Been following and reading on these forums for some time now and have had lots of help from you guys. Thanks!
However I have now run in to two problems that I can not solve.
1. I want the party, as they step on a hidden pressure plate to lose all torches in their inventory. Either by swapping them for burned out ones or by simply destroying them.
At the same time I want a hudPrint message to be displayed, one for "if" and one for "else". I simply can not make this work (al tough it was kinda late last night )
I tried so many different things I managed to break my script completely last night and here are the remains. I shall have a closer look again once I get back home from uni.
function RemoveInventoryTorch()
for RemoveTorch() do
then removeItem("torch")
hudPrint("Your torches fizzle and dies,
--no matter what they refuse to burn")
hudPrint("fuuuc")
else hudPrint("you already wonder in darkness")
end
end
end
I just can't make the damn timer to start and I don't understand what I am doing wrong to be honest.