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-21-2002, 10:36 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
flags and differentiating them

ok....... im trying to make chests that when you open then set a flag that says the x,y and levelname of the cehst, like in offline mode (of course without #) but its not possible it seems

for one.... #letterhere() declarations dont work in flag setting

and another thing.. they dont work in flag detection.

i hope theres a way to do this, other than making a string array or individualy changing the flag for each chest...
Reply With Quote
  #2  
Old 06-22-2002, 02:19 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
yes but there are 80 of this particular chest..


i dont want to have 80 values in a string array, that will lag...
Reply With Quote
  #3  
Old 06-23-2002, 09:53 PM
mikepg mikepg is offline
Registered User
Join Date: Nov 2001
Location: VA, USA
Posts: 501
mikepg is on a distinguished road
Send a message via AIM to mikepg Send a message via Yahoo to mikepg
hmm

I can't imagine it lagging too badly....Personally, Having 80 values in a string is MUCH nicerlooking than having 80 flags take up the whole window...but that's just my opinion.

Or, like Kam said...do something like

NPC Code:

if (playertouchsme) {
setstring client.chest_#F_#v(x)_#v(y),open;
}




That Would actlike a flag, and instead of checking if it's true, you'd just check to see if it's "open"
__________________
~War Lord Mpg2
Bravo Online's Asst. Staff Manager

"Sittin by the tree, sippin eggnog, waitin on christmas gifts"
Reply With Quote
  #4  
Old 06-24-2002, 03:02 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
Re: hmm

Quote:
Originally posted by mikepg
I can't imagine it lagging too badly....Personally, Having 80 values in a string is MUCH nicerlooking than having 80 flags take up the whole window...but that's just my opinion.

Or, like Kam said...do something like

NPC Code:

if (playertouchsme) {
setstring client.chest_#F_#v(x)_#v(y),open;
}




That Would actlike a flag, and instead of checking if it's true, you'd just check to see if it's "open"
but i want to set the flag: #co#chestx#chesty#chestlevel

so it will show up in chest list
Reply With Quote
  #5  
Old 06-24-2002, 03:27 AM
Cybnext Cybnext is offline
Registered User
Join Date: Jun 2002
Posts: 100
Cybnext is on a distinguished road
Re: Re: hmm

Quote:
Originally posted by Warcaptain


but i want to set the flag: #co#chestx#chesty#chestlevel

so it will show up in chest list
Want me to ask stefan to add string handling in flag setting since he is adding new stuff sometime soon?
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 01:04 PM.


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