I have looked around and found some stuff on setting up an Actor / Static mesh to kill the player but none of it seems to work for me. I was wondering if someone could help me out with this?
I’m working on a 3d Sidescroller, and I just want to get some moveable actors / static mesh to kill the player when they touch/collide. So here is what I set up:
1.) An actor Blueprint with static mesh component added inside for the thing the player would collide with.
2.) Event graph for this object - OnActorBeginOverlap_Event - plugged into - Cast To SideScrollerCharacter - and that’s plugged into Apply Damage with a Base Damage of 500
3.) Static Mesh Collision is set to OverlapAll - Simulation Generates Hit Event Checked - Generate overlap events checked
4.) SideScrollerCharacter - Health set to 50 ( so I’m assuming the 500 in apply damage would take care of all the player hitpoints)
Is this all I should have to do? or am I missing something? When I run the level, I’m not getting any pulsing line inside the blueprint window, so I’m assuming something a miss.
I tried placing a Event Destroyed - plugged into a Destroy Actor in the SideScrollerCharacter blueprint, but that didn’t work.
I am new to Unreal 4 and Blueprint.
Any help would be appreciated.