Hello, I’m asking for help
I’m creating a game from a Generated Dungeon type guide
the guy from the guide has this action:
“Set the boolean value of variable Active of Spawners to true”
Where “Active” is a value and “Spawners” is a group of objects.
I can’t continue creating the game because I can’t find the “boolean” action
Do you know what this might be about or how to do it in a different way?
Hi there and welcome! Spawners is an object (or group of them), Active is an Object Variable of the Spawner objects (or objects in the spawner group). First you can create an object variable named Active in each object that is in your Spawner group. For the variable type drop down list (default is Number), open the drop down menu and select Boolean.
To change it to true, in GDevelop editor actions side, type “value”. Now you will see change the value of a variable, and change the value of an object varialbe. Select the one that says object. In the pane that opens, select your spawner object group as the object, and for the variable select “Active”. Then it will give you actions to set it true, false, or toggle.
Next follow the detailed series of pictures that show how to search in Actions for phrase “value” and from the top results, select 'Change variable value General/Objects/Variables (and select your group instead of one single object), and select the Boolean variable that you have previously created in each object that is a member of the spawner group, so the variable values listed will change into the correct options to set your boolean to True.