Jump to content
  • 0

Question

Posted

hello i try to put a waitingroom in my npc but it doesnt show :D( sorry for bad english

heres the code

louyang,217,115,5 script Quest Items Effect 835,{
mes "You can see the effects of the Quest items here";
next;
mes "Choose what you want";
switch (select ("HeadProtector","Flames","Traveler Hat","Scarf","Hokage Hat","BlindFold" ) ) {
case 1:
	{
		mes "All of them has the same effect";
		mes "Allstats+ 3";
		mes "MaxHP+ 3%";
		close;
	}
case 2:
	{
		mes "All of them has the same effect";
		mes "Allstats+ 3";
		mes "Increase Max HP + 3%";
		close;
	}
case 3:
	{
		mes "All of them has the same effect";
		mes "Allstats+ 5";
		mes "Reduce Damage taken from DemiHuman by 5%";
		close;
	}
case 4:
	{
		mes "All of them has the same effect";
		mes "Allstats+ 5";
		mes "MaxHP+ 5%";
		close;
	}
case 5:
	{
		mes "All of them has the same effect";
		mes "Increase Movement Speed.";
		mes "Increase Attack on ^880000DemiHuman^000000 by 5%.";
		mes "Increase Magic on ^880000DemiHuman^000000 by 10%.";
		mes "Increase Long Attack on ^880000DemiHuman^000000 by 10%.";
		close;
	}
case 6:
	{
		mes "All of them has the same effect";
		mes "Allstats + 5.";
		mes "Maximum HP + 5%.";
		close;
	}
case 7:
	{
		mes "Allstats + 5";
		mes "Increase Damage to DemiHuman by 5%";
		close;
OnInit:
		waitingroom "Quest Info Effects",0;
		end;
	}
}
}

7 answers to this question

Recommended Posts

Posted

Before OnInit add two } like this:

close;

}

}

OnInit:

waitingroom "Quest Into Effects",0;

end;

}

If you put the close; and right after the OnInit, the script won't read it well ... so just change that and it should work no prob.

Posted

@keim sir i try this but nothing happen

case 7:
{
mes "Allstats + 5";
mes "Increase Damage to DemiHuman by 5%";
close;
}
}
OnInit:
waitingroom "Quest Info Effects",0;
end;
}

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