NPC Code:
prompt question,answer1,answer2,answer3;
pops up a sign on your screen, with a question and the answers you give (how big the question screen is depends on the ammt of answers you provide
then when the player answers it triggers the weapon actionansweredquestion
param1=question
param2=answer given
so for example
NPC Code:
if (playerenters){
prompt Do you feel lucky?,Yes,No;
}
if (actionansweredquestion){
if (strequals(#p(1),yes)){
playerhearts=0;
say2 Too bad punk, you arent.;
}else{
playerrupees+=100;
say2 Good kid, dont too be proud.;
}
}