Hey can anyone tell/ show me how to create a dropable Tnt?
i want, that the character throws the tnt if he presses “G”
how can i do that? would be also cool if the tnt has also an effect, means that everything in an area will be destroyed.
Hey can anyone tell/ show me how to create a dropable Tnt?
i want, that the character throws the tnt if he presses “G”
how can i do that? would be also cool if the tnt has also an effect, means that everything in an area will be destroyed.
There so many ways of making a grenade or a TNT as you call it, here a tutorial that I found that should help you. How To Create A Grenade & Projectile - #7 Unreal Engine 4 Blueprint Creations Tutorial - YouTube
yeah i tried them all but somehow they dont work…
Create new blueprint Actor and add your TNT mesh to it. In the graph add a timer tied to a custom event, use it to create particle emitters and radial damage at the location of the actor, add destroy node in the end to destroy the mesh. To spawn it create G event in the Player Controller blueprint and connect it to “spawn actor from class” node, choose your TNT actor and figure out where to spawn it. Use raycasts from the player or something.
There. This spawns a cylinder 100 unreal units in front of the character that explodes in 5 seconds. The destroy node can be put before emitter and damage nodes since it doesn’t seem to break anything.
I see no error there.