Jump to content
  • 0

another request dice event


Question

Posted

can some1 plss paste a dice event which if you are the only participant you dont win instead you get warped to pront... mostly dice event script here are "if your the only player who entered the event the npc prize show up and let you win automatically!

3 answers to this question

Recommended Posts

Posted

if you can see this in the script


if(getmapusers("quiz_01") == 1) goto L_Champ;
if(getmapusers("quiz_01") == 0) goto L_None;
...
...

...
...
...
L_Champ:
mapannounce "quiz_01","Mr. Dice: Come to me and tell me your name.",0;
hideoffnpc "Dice#evnt1";
end;

L_None:
//disablenpc "Dice#evnt1";
hideonnpc "Dice#evnt1";
end;


just change it to:



if(getmapusers("quiz_01") == 1) goto L_LACK; //<----CHANGE THIS ONE
if(getmapusers("quiz_01") == 0) goto L_None;
...
...

...
...
...
L_Champ:
mapannounce "quiz_01","Mr. Dice: Come to me and tell me your name.",0;
hideoffnpc "Dice#evnt1";
end;

L_None:
disablenpc "Dice#evnt1";
hideonnpc "Dice#evnt1";
end;

L_LACK:  //<--------ADDING THIS SCRIPT
announce "quiz_01","Mr. Dice: Event cancelled due to lack of participants.",0;

disablenpc "Dice#evnt1";
hideonnpc "Dice#evnt1";





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...