Hey guys, this is my first fully working blueprint and I hope you guys like it, as I will use it once I build a high building in Unreal
So my project here is a fully customizable elevator blueprint - so you drag in the elevator specify some params and let him move (its not that realistic but putting the elevator inside a deep elevator shaft will work perfectly)
And probably the elevator shaft need doors to because the elevator just have doors but thats your decision (maybe I add this).
So heres a quick start guide how to set the elevator up:
- Drag the elevator somewhere in your map
- Move it as you want it (notice that this position is always your Ground Zero :))
- Once you found the correct position for Floor 0, hit the Checkbox called āSet Start Posā (its a bool but it acts like a button) - it should print something like āFirst position set!ā onto your viewport
- Specify your desired Floor Height by changing the Z value of the Floor Height vector or moving the little diamond upon the elevator (it does not affect X or Y coords, it just takes the Z value)
- Tweak the āDoor Open Speedā and āElevator Speedā (their defaults are 1, but thats reaaaaaaaly slow - I recommend something like Main speed: 4 and Door Open Speed: 5)
- Like Elevator Music? No? Uncheck that bool. Otherwise leave it on!
- You can change the light properties in the āLightā variable category.
Youre done, so with this you should drive with your elevator to the default floors (0,1,2,3)
**Learn here how to add new floors or remove existing ones:
** 1. Open up the āElevatorMenuā Widget Blueprint inside Elevator\Widgets
2. Switch to the graph section
3. At the left bottom you see a big comment box which is named āEvent unitā
4. As it says there, simply connect the OnClicked events of your new floor buttons with a āWidget Driveā custom event. There you just have to specify the floor to which the button should lead.
5. Hook up the output of this custom event with the ForEachLoop in the comment box at the right hand side.
6. For the cosmetic part (disabling / enabling depends on which floor you are) add a pin on that Make Array and put your new buttons in.
7. Thats all, now your new floor buttons should be displayed and ready to work! (To remove existing floors, simply remove that OnClicked event of that floor with the Widget drive, and hook out the the button var on that Make Array node.)
Download link (requires 4.6): https://docs.google.com/uc?id=0B_kkwi64gdF7R2pnb3UxOXM4cHc&export=download
So that should be all, for questions please write here, and Iām not native speaker in english so my language may be a little bit broken
Have Fun!