Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11-15-2001, 12:58 PM
SabreKnot SabreKnot is offline
Registered User
SabreKnot's Avatar
Join Date: Nov 2001
Posts: 524
SabreKnot is on a distinguished road
Question Beer Script (help w/ strings)

Ok. I am working on a beer script but I need some help. Anyways, here is what i have so far...

//Beer made by Raine

if (hasbeer) {replaceani idle,rainebeer; replaceani walk, rainebeerwalk;replaceani sit,rainesitbeer}

while (six=S && hasbeer){disableweapons;
if (keydown(6)) {setani rainedrinkbeer,;sleep 1;set drank}
if (drank) {
i = random(0,4);
if (i in <0,2>) setani rainedrankbeer,;
else if (i in <2,3>) setani rainedrunkbarf,;
else if (i in <3,4>) setani rainedrankitok, ;} sleep .05;unset drank;}

Anyways, i need help. I want it so after you drink 5 times you lose the beer (change ganis back to reg. walk,idle,sit;unset the hasbeer) and also if you passout (rainedrunkbarf ganis) you stay on the ground for 6 seconds and lose the beer even if you havent drank 5. Anyways, any help is megapreciated. Peace.
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 12:26 AM.


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