Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-03-2002, 06:33 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
new command suggetion

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

Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:39 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.