Jump to content
  • 0

auto destroy after 30 mins?


Question

12 answers to this question

Recommended Posts

Posted
monster "caspen",0,0,"Treasure Chest",1845,1,"Treasure Chest Event::OnTBoxKilled";
initnpctimer;
end;

OnTimer1800000:
announce "Event Cancelled",0;
killmonster "caspen","All";
stopnpctimer;
end;

Posted

Yes that part works but i mean the announce shows up even when a player destroys the chest.

its abit weird that announce comes when a player has already killed it.

Any idea how to change? :(

Posted

My scripting skill isnt far as great as you mister emistry, but using my own knowledge i dont see how that would

be what i am searching for.

this is what im looking for:

script is fine, but only the

announce "player failed to destroy chest. treasure chest removed by server",0;

should come up if player FAILS to find the chest within 30 minutes after it spawned. i dont want to get rid of the "Chest has been found" line...

Posted

in 1st post...you request to remvoe the monster ...

so i have provide you the solution in post#2

the script will be cancelled and remove all the monster...

in post#5 , you request the script to announce after 30minute when nobody found the treasure box...

so i have provide you the solution in post#6

then in post#7 , you want the the never announce if anyone killed / found it and request to remove it.

so i have provide you the solution in post#8

and now in post#9 , now you said you dont want to remove the announce for chest is found / killed ....and the announce for failed to locate the treasure box should be shown after 30minute ...( isnt that solution is provided in post#6 ?? )

if you want to keep the announce for chest is found / killed ...then just dont follow what i said in post#8 ....

is there anything did i missed ? /hmm

Posted

hi emistry sorry for the confusion. :(

post #7 i ask for the announce to only show up if a player cant find the chest/destroy the chest,

I'm talking about the "treasure chest has been killed by the server" and not about "treasure chest been killed by a player"

right now when a player destroys the chest, it still announce 30 minutes later that the chest has not been found and so it gets destroyed by the server

while that is not the case because player already destroyed it.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...