x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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 :) 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

Product Version: UE 4.12
Tags:
more ▼

asked Oct 04 '16 at 06:08 AM in Blueprint Scripting

avatar image

wontonanimalchin
1 1

avatar image MrGoatsy Oct 04 '16 at 08:03 PM

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

avatar image wontonanimalchin Oct 05 '16 at 05:29 AM

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

cheers robert

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

3 answers: sort voted first

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 ->alt text If it's on a seperate map you can set the boolean with Get Current Level Name on BeginPlay like this ->alt text 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 -> alt text

1.png (42.9 kB)
2.png (46.3 kB)
3.png (175.4 kB)
more ▼

answered Oct 04 '16 at 09:32 AM

avatar image

Allart
6 1 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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 :)

best regards robert

more ▼

answered Oct 04 '16 at 01:29 PM

avatar image

wontonanimalchin
1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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

more ▼

answered Oct 04 '16 at 07:47 PM

avatar image

wontonanimalchin
1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question