how to hide inputs

To add comments, please log in or register
chris
51
chris  

Hi

Is there any way I can hide external inputs and set them to false as default?

It will be much easier than modding code.

I dont want the customer to see these in the inputs.. but i still want them set to false.

extern bool PA8=false;

extern bool PA50=false;

extern bool PA200=false;

Alain Verleyen
38676
Alain Verleyen  
kraziekris:

Hi

Is there any way I can hide external inputs and set them to false as default?

It will be much easier than modding code.

I dont want the customer to see these in the inputs.. but i still want them set to false.

extern bool PA8=false;

extern bool PA50=false;

extern bool PA200=false;

Simply by removing the extern keyword, not ?
James Hodges
3349
James Hodges  
kraziekris:

Hi

Is there any way I can hide external inputs and set them to false as default?

It will be much easier than modding code.

I dont want the customer to see these in the inputs.. but i still want them set to false.

extern bool PA8=false;

extern bool PA50=false;

extern bool PA200=false;


bool PA8;

bool PA50;

bool PA200;

Alain Verleyen
38676
Alain Verleyen  
Jimdandy:


bool PA8;

bool PA50;

bool PA200;

I dont want the customer to see these in the inputs.. but i still want them set to false.

bool PA8=false;

bool PA50=false;

bool PA200=false; 
Andreas Bauer
1634
Andreas Bauer  
Any other idea on how to hide the inputs?!
Fernando Carreiro
4982
Fernando Carreiro  
Andreas Bauer: Any other idea on how to hide the inputs?!

What do you mean by "any other idea"?

The solution has already been given and it is as simple as it can get!

In order words, just remove or comment out the "extern" or "input" before the variable in question.

Anthony Garot
3266
Anthony Garot  
Fernando Carreiro:

In order words, just remove or comment out the "extern" or "input" before the variable in question.

I often replace the word "input" with "const." It keeps my variable declarations aligned.

:-D

To add comments, please log in or register