Turn on and off shooting projectiles certain in areas

Hi,
i have a question about turning on and off the projectiles in my first person game. My game is about a virtual museum with three levels. And the shooting is only wanted) in the minigame level. Now everybody is shooting the whole time in museum!
I tried several things. The easiest seemed to me to use a trigger box in a certain area where i can dissable the rightshoulder button assignment of the xboxcontroller i use. But i didnt get that working somehow. Maybe thats not the way :slight_smile: I think i have to make another nodes in the levelblueprint to dissable the shooting in each level. But i got no clue how to!
And even though i spend the past couple of months playing with UE4 i consider myself as a complete noob in making a good workong node system myself!

Hope somebody can help me out in this!

best regards robert

Is the minigame level a seperate map? Or is it an area in the museum? Either way, you can put a branch with a Boolean after the input fire event like this →

If it’s on a seperate map you can set the boolean with Get Current Level Name on BeginPlay like this →

If it’s a certain area on the map you could make a new blueprint, add a box collission, and set the boolean to true/false on begin/end overlap like this →

hey allart great appreciation for helping me out! i have trying all three possibilities but i keep on making mistakes apparantly.
The minigame is a seperate level called: level_3_minigame
And the museum were i dont want the shooting is called a stupid name: FirstPersonExampleMap

I feel extremely stupid not to get it like you did! The first one is in the firstpersonblueprint i assume. But i dont get that node: in minigame. I made a variable with the level name, but thats probabaly not the way.
The second one you showed is in the levelblueprint right? and with the fourth node it goes wrong again.

The third one looks very nice too,. but again i goes wrong at the end. Probably because i dont fully understand what you mean with this: and set the boolean to true/false on begin/end overlap like this

struggling :slight_smile:

best regards robert

oh man i did it! thanks man, i am all excited right now haha. Gee i made a little mistake. very very happy, and learned again!

best regards robert

Please add a comment instead of answering your own question with something which isn’t an answer.

hey you are right, sorry. I didnt realise that there are replies, comments and answers :slight_smile:
next time i will do it the right way,

cheers robert