QuestionSolvedBGG BASE God mode

Posts 1–4 of 4 · Page 1 of 1
BGG BASE God mode
When i make a god mode script For the BGG BASE MENU i don't know how to add the script to the menu so i can enable it in game and i need some more work on my programming

I WANT A SCRIPT TO USE FOR THIS SDK
He used the Getoption function, correct me if i'm wrong.
Inside the
Code:
if(getoption()==1){

}
Your script should be to enable the GodMode, or even better you could switch between two bools to enable/disable the godmode.

Declare a bool like so:
Code:
bool Godmodetoggle;
Then inside the getoption switch between them like this:
Code:
Godmodetoggle = !Godmodetoggle;
Then you can either add two if statements inside the getoption, or inside your loop.
These if statements have to do as you want, so one script to enable godmode, and one to disable.

like so:
Code:
if(Godmodetoggle){
//code to enable godmode here
}
else if(!Godmodetoggle){
//code to disable godmode here
}
You should be able to figure this out now, good luck.

Don't hate if my example is crappy, it's early for me and I personally haven't used this base .
Just trying to help.
Quote Originally Posted by kevzuidwest View Post
He used the Getoption function, correct me if i'm wrong.
Inside the
Code:
if(getoption()==1){

}
Your script should be to enable the GodMode, or even better you could switch between two bools to enable/disable the godmode.

Declare a bool like so:
Code:
bool Godmodetoggle;
Then inside the getoption switch between them like this:
Code:
Godmodetoggle = !Godmodetoggle;
Then you can either add two if statements inside the getoption, or inside your loop.
These if statements have to do as you want, so one script to enable godmode, and one to disable.

like so:
Code:
if(Godmodetoggle){
//code to enable godmode here
}
else if(!Godmodetoggle){
//code to disable godmode here
}
You should be able to figure this out now, good luck.

Don't hate if my example is crappy, it's early for me and I personally haven't used this base .
Just trying to help.
Thanks So much
Question was answered /closed
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?