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 06-01-2002, 07:46 AM
darkriders_p2p darkriders_p2p is offline
Registered User
Join Date: Jan 2002
Location: Canada
Posts: 690
darkriders_p2p is on a distinguished road
array comparison

ok for my hat NPC I am making an array to compare if the player owns the hat he wants to put on.I used #i as the "+,-" value to browse through the hats.And I made an array called client.hats thats 200 for size.Is there a way to make a comparison between these two variables?
I tried one way but it gave me an error.
plz help
__________________
maximus_asinus
Reply With Quote
  #2  
Old 06-01-2002, 08:18 AM
zallus-k zallus-k is offline
Registered User
Join Date: Sep 2001
Location: AC0265, Zaroke
Posts: 122
zallus-k is on a distinguished road
.

He means he wants to create a sort of "Hat Selection Screen". Pretty much a weapon selection screen with a few modifications. But, all he wants to know is how to check if he has the hat he wants to select from it.
__________________

Solemn Destiny - Owner
Reply With Quote
  #3  
Old 06-01-2002, 08:46 AM
Bhala Bhala is offline
Disgruntled Monkey
Bhala's Avatar
Join Date: Mar 2001
Posts: 779
Bhala is on a distinguished road
you cycle throught the array & check to see if they have it.....
__________________
Reply With Quote
  #4  
Old 06-01-2002, 08:56 PM
darkriders_p2p darkriders_p2p is offline
Registered User
Join Date: Jan 2002
Location: Canada
Posts: 690
darkriders_p2p is on a distinguished road
exactly what I want, but when I used strequals it gave me an error.If anyone wants to look at the script & help Forum PM me
__________________
maximus_asinus
Reply With Quote
  #5  
Old 06-04-2002, 12:00 AM
Bhala Bhala is offline
Disgruntled Monkey
Bhala's Avatar
Join Date: Mar 2001
Posts: 779
Bhala is on a distinguished road
see this is the part where you post a little part of your script & ask whats wrong. you can still do that you know
__________________
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 06:27 PM.


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