Hey, guys. I recently moved from Unity to Unreal and am in the process of making a horror game similar to Slender: The Arrival. Despite the fact that the game was made using the Unity game engine, can someone tell me how I can recreate the game’s collectable page system in Unreal 4.13? If so, I’d greatly appreciate it. Thanks in advance! ![]()
Hi Darkwood,
I havent played Slenderman, but from what Ive seen its a very simple game where you collect pages (objects) without getting caught. Assuming your question is how to create a system where you collect objects…here is one way you could do it:
Go to your Character blueprint and create a Float variable called “PageCount” and set it to 0.
Create a Blueprint of type Actor and import your mesh (page). Add a trigger volume and on event BeginOverlap cast to Player Character Blueprint and set PageCount = PageCount +1. Then use the DestroyActor node to destroy the page.
On the Character Blueprint you could have a function that checks the number of pages on Tick (Event Tick). This function will compare the current value of PageCount with your max value (whatever you choose). If the PageCount is equal to your max (you collected all the pages), Do something (maybe end game), If false, do nothing.
You could also look at Widget Blueprints to display the current page count (look at UMG tutorials online on how to do this).
This should give you a starting point. Go to Youtube and look at how to create variables in Blueprint and how to create triggers and you should be set.
Hope this helps!
-J