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
  #16  
Old 09-10-2002, 01:14 PM
Ace Venom Ace Venom is offline
Registered User
Join Date: Jul 2002
Location: hell
Posts: 3
Ace Venom is on a distinguished road
ok, grumpy lazynesses.

ok, you grumpy people. I fixed the problem. I was having sever scripters block (possibly resulting from brain damage. LOL) I realized I was going about the script all wrong. here is the fixed script ... if anyone even cares...

NPC Code:

//based off of NPC made by bryan986
//NPC changed into current NPC by Ace Venom

//toweapons & settimeout
if (playerenters) {
toweapons Gembox;timeout=.05;}
//if fired:
if(weaponfired){
say2 You have these gems:#b
#s(gem1)#s(gem2)#s(gem3)#s(gem4)#b
#s(gem5)#s(gem6)#s(gem7)#s(gem8);
}
//if timeout:
if(timeout){

if(gotgem1){setstring gem1,#i(gem3.gif);}
if(!gotgem1){setstring gem1,#i(no-shield.gif);}
;
if(gotgem2){setstring gem2,#i(gem3bl.gif);}
if(!gotgem2){setstring gem2,#i(no-shield.gif);}
;
if(gotgem3){setstring gem3,#i(gem3blak.gif);}
if(!gotgem3){setstring gem3,#i(no-shield.gif);}
;
if(gotgem4){setstring gem4,#i(gem3gold.gif);}
if(!gotgem4){setstring gem4,#i(no-shield.gif);}
;
if(gotgem5){setstring gem5,#i(gem3pink.gif);}
if(!gotgem5){setstring gem5,#i(no-shield.gif);}
;
if(gotgem6){setstring gem6,#i(gem3purp.gif);}
if(!gotgem6){setstring gem6,#i(no-shield.gif);}
;
if(gotgem7){setstring gem7,#i(gem3red.gif);}
if(!gotgem7){setstring gem7,#i(no-shield.gif);}
;
if(gotgem8){setstring gem8,#i(gem3yel.gif);}
if(!gotgem8){setstring gem8,#i(no-shield.gif);}
;
timeout=.05;}



and if you want the whole thing... umm... I guess I'll attach it...

ps. I realize it's a long script. but I am currently trying to devise a shorter version of it. this is just what would be considered a rough draft. for all you picky evil people out there... you know who you are.
Attached Files
File Type: zip gemboxtest.zip (10.4 KB, 126 views)
__________________
-Ace Venom
Reply With Quote
  #17  
Old 09-10-2002, 02:17 PM
R0b1n-NPC R0b1n-NPC is offline
Registered User
Join Date: Sep 2002
Posts: 397
R0b1n-NPC is on a distinguished road
Ewwwwww

wtf is with the ; seperating the lines??

I will not be downloading that... and look neither has anyone else.

Quote:
Attachment: gemboxtest.zip
This has been downloaded 0 time(s).
__________________
- R0bin
Reply With Quote
  #18  
Old 09-22-2002, 08:58 PM
BladeSpirit BladeSpirit is offline
Registered User
Join Date: Sep 2002
Location: Over there ->
Posts: 22
BladeSpirit is on a distinguished road
Send a message via AIM to BladeSpirit
Quote:
Amen
__________________
If pro is the opposite of con:

Is Pro gress the opposite
of Con gress ?

Pro Stitution
Con Stitution
aim: cl0ud Drakken
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 07:18 AM.


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