Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-29-2001, 02:57 AM
Nelm Nelm is offline
delterian loyalist
Nelm's Avatar
Join Date: Apr 2001
Location: Michigan
Posts: 198
Nelm will become famous soon enough
Send a message via AIM to Nelm
for beer script
if (playertouchesme) {
i forget rest of beer script but after that;
setflag drunk;
}
if (drunk && playertouchesme) {
unset drunk;
setflag drunk2;
}
if (drunk2 && playertouchesme) {
unset drunk2;
setflag drunk3;
}
if (drunk3 && playertouchesme) {
unset drunk3;
setflag drunk4;
}
if (drunk4 && playertouchesme) {
unset drunk4;
setflag drunk5;
hide;
}

for Meter-
if (drunk) {
message Your Drunkeness is at 1;
}
if (drunk2) {
message Your Drunkeness is at 2;
}
if (drunk3) {
message Your Drunkeness is at 3;
}
if (drunk4) {
message Your Drunkeness is at 4;
}
if (drunk5) {
message You are too Drunk...No more beer for you;
}
And then make them have coffee before they can have more beer-
if (drunk5 && playertouchesme) {
unset drunk5;
setflag drunk4;
}
if (drunk4 && playertouchesme) {
unset drunk4;
setflag drunk3;
}
if (drunk3 && playertouchesme) {
unset drunk3;
setflag drunk2;
}
if (drunk2 && playertouchesme) {
unset drunk2;
set drunk;
}
if (drunk && playertouchesme) {
unset drunk;
}


and there's an Original script by Lord Matt Essorexx
Reply With Quote
Reply


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 02:00 AM.


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