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 03-30-2002, 11:11 AM
royce royce is offline
Banned
royce's Avatar
Join Date: Sep 2001
Location: Yakitinzen, China
Posts: 2,271
royce is on a distinguished road
Send a message via AIM to royce
Showstats Command

NPC Code:
showstats bitflag;


Hides part of the stats bar.
1-ASD (Keys)
2-icons
4-rupees
8-bombs
16-arrows
32-hearts
64-alignment points
128-magic points
256-mini-map
512-inventory
1024-player


Is the command showstats bitflag; kind of like a flag, it is stored as true or false?
Reply With Quote
  #2  
Old 03-30-2002, 11:33 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
I thinnk it returns as true if true means it will show only what you put down
like
showstats 1024;
will hide everything but the player
and like
showstats 1024+256;
will show that player and the mini map
Reply With Quote
  #3  
Old 03-30-2002, 11:54 AM
royce royce is offline
Banned
royce's Avatar
Join Date: Sep 2001
Location: Yakitinzen, China
Posts: 2,271
royce is on a distinguished road
Send a message via AIM to royce
How would I check to see if it's True or False (Flag Language)?
Reply With Quote
  #4  
Old 03-30-2002, 11:55 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
You mean like if a certain stat was showing?
Reply With Quote
  #5  
Old 03-30-2002, 11:58 AM
royce royce is offline
Banned
royce's Avatar
Join Date: Sep 2001
Location: Yakitinzen, China
Posts: 2,271
royce is on a distinguished road
Send a message via AIM to royce
Kind of like Administration over players, yes your correct.
Reply With Quote
  #6  
Old 03-30-2002, 12:35 PM
Bhala Bhala is offline
Disgruntled Monkey
Bhala's Avatar
Join Date: Mar 2001
Posts: 779
Bhala is on a distinguished road
Its not a flag, its a command
Reply With Quote
  #7  
Old 03-30-2002, 12:38 PM
royce royce is offline
Banned
royce's Avatar
Join Date: Sep 2001
Location: Yakitinzen, China
Posts: 2,271
royce is on a distinguished road
Send a message via AIM to royce
I was comparing it to a flag. A flag is classified as True or False. The command is very similiar.
Reply With Quote
  #8  
Old 03-30-2002, 02:51 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Quote:
Originally posted by royce
I was comparing it to a flag. A flag is classified as True or False. The command is very similiar.
the command either sets things to on or off by using,

showstats #+#...;

but there is no way to check if certain things are showing ...
Reply With Quote
  #9  
Old 04-07-2002, 05:21 AM
SaijinGohan SaijinGohan is offline
Registered User
SaijinGohan's Avatar
Join Date: Jul 2001
Location: U.S.A - Ohio
Posts: 536
SaijinGohan is on a distinguished road
Send a message via AIM to SaijinGohan Send a message via MSN to SaijinGohan
Quote:
Originally posted by Kaimetsu
You could always rig up some elaborate system to keep track of them via arrays if it really mattered.
Its a shame the only arrays I understand are variable arrays. =(
__________________

Job: A Legend

And you think that you have played Graal forever? Ha!
Reply With Quote
  #10  
Old 04-07-2002, 06:05 AM
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
umm

string arrays are just as easy...

you just do
setstring <string name>,<value1>,<value2>,<value3>,...<value n>;

it, you now have a string array.
To edit, insert, or delete part of an array, consult your local commands.rtf

royce:
I don't see how you would compare it as a flag...
variables can act like 'flags' in conditional statements (whiles, ifs, ect), but are normally referred to as 'clauses'
If youre asking how to check it as a clause, it's not possible as far as i know.
__________________
~War Lord Mpg2
Bravo Online's Asst. Staff Manager

"Sittin by the tree, sippin eggnog, waitin on christmas gifts"
Reply With Quote
  #11  
Old 04-07-2002, 08:46 AM
royce royce is offline
Banned
royce's Avatar
Join Date: Sep 2001
Location: Yakitinzen, China
Posts: 2,271
royce is on a distinguished road
Send a message via AIM to royce
Re: umm

Quote:
Originally posted by mikepg
royce:
I don't see how you would compare it as a flag...
variables can act like 'flags' in conditional statements (whiles, ifs, ect), but are normally referred to as 'clauses'
If youre asking how to check it as a clause, it's not possible as far as i know.
I was comparing it to a flag because it's True and False values.
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:49 AM.


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