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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

How to create trap that kills the player?

How do I create a trap, like a pitfall or some arrow that kills the player whenever he runs into a certain space? It's a box trigger right?

I created a box trigger in the space I wanted to have the trap, but now I'm stuck in the blueprints. For example, how do I 'open' the floor for the player do fall off the level or how do I put some objects flying trhough the wall to hit the player? Sorry for being a noob!

Thanks!

Product Version: UE 4.8
Tags:
more ▼

asked Dec 23 '15 at 05:27 PM in Using UE4

avatar image

Toua2006
1 1 2 2

(comments are locked)
10|2000 characters needed characters left

3 answers: sort voted first

Hi

There are a lot of ways to do that, it depends a lot what you want. If you want a simple trap on the floor, you could destroy the floor actor piece when the player enters the trigger box, so the floor desapears and the player falls, or you could create a destructible actor from this floor, and when the player enters the trigger box you activate the collision or the gravity of this destructible floor, making it break in a lot of pieaces, so it becomes more realistic. Check here to see how make destructible actors: https://www.youtube.com/watch?v=-gGiEmYj4oE&list=PLZlv_N0_O1gaCL2XjKluO7N2Pmmw9pvhE&index=199

To make objects fly from a wall is a little more complicate, you sould check this projectile tutorial here: https://wiki.unrealengine.com/Unreal_Engine_4_Blueprint_QuickShot_-_3_-_Custom_Projectile

Also, check this Tutorials Playlists, there are a lot of good info here: https://www.youtube.com/playlist?list=PLZlv_N0_O1gaCL2XjKluO7N2Pmmw9pvhE

more ▼

answered Dec 23 '15 at 06:39 PM

avatar image

FilipeTessaro
1.4k 54 19 60

avatar image Toua2006 Dec 24 '15 at 12:56 PM

Thanks a lot man! I'll try it out!

(comments are locked)
10|2000 characters needed characters left

um im a beginner but i would place a KillZ zone on the place where the trap is and place somthing to mark it
i know there are more advanced stuff out there but i am working on a science fair project right know and cant explore UE a lot

more ▼

answered Dec 29 '15 at 11:42 PM

avatar image

CMJones
12 3 6 12

(comments are locked)
10|2000 characters needed characters left

I wanna Make a trap that actually traps an animal for example and then you can loot it. :) Is there a blueprint way to this?

more ▼

answered Apr 20 '18 at 09:44 PM

avatar image

Alecheck
6 1 1

avatar image ThompsonN13 Apr 20 '18 at 10:24 PM

yes there is ways to do that but its beyond the scope of this question. ask your own question on the answerhub. it will be complex though and very situation dependent so provide all the information you can

(comments are locked)
10|2000 characters needed characters left
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