![]() |
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? |
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 |
How would I check to see if it's True or False (Flag Language):D?
|
You mean like if a certain stat was showing?
|
Kind of like Administration over players, yes your correct.
|
Its not a flag, its a command
|
I was comparing it to a flag. A flag is classified as True or False. The command is very similiar.
|
Quote:
showstats #+#...; but there is no way to check if certain things are showing ... |
Quote:
|
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 :p 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. |
Re: umm
Quote:
|
| All times are GMT +2. The time now is 11:54 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.