I'm trying to make a trigger activated event. Once the player activates the trigger it will randomly play one of two matinee's which will be either door 1 opening or door 2 opening. I've searched for tutorials on how to set up random events to no avail. Does anyone know how to do this in Blue Prints or know of any tutorials which would answer this?
Announcement
Collapse
No announcement yet.
Random Door Opener (Problem)
Collapse
X
-
-
This is a bit to complex for what I'm after. I know how to do it with UDK 3 but there doesn't seem to have any of the random features in UDK 4. I'm just after a Random Integer that will randomly roll a number 0,1 or 2 and if its 0 no doors open, if its 1 door one opens and if its 2 door 2 opens. I'm not sure if this features just hasn't been added to the game engine yet.
Comment
-
Originally posted by LazyLoading View PostThis creates a random int between 0 and 2. Set some Equal nodes to find out if 0, 1, or 2 and open the door(s).
[ATTACH=CONFIG]53149[/ATTACH]Open for contracted work | C++/BP (incl. Multiplayer) | Tutoring | VR
My UE4 Blog/Page with Tutorials and more: Hit me for ALL the things!
(Including 100+ Pages Multiplayer Network Compendium to get you started.)
Comment
-
Originally posted by eXi View PostCould also use a "Switch on Int". Then he would save himself all the equal and branch nodes.Marketplace Assets
Advanced Mobile Input: Marketplace Page | Support Thread ――― Easy Input Remapping: Marketplace Page | Support ThreadMultiplayer Blueprint Chat System: Marketplace Page | Support Thread ――― Closing Credits System: Marketplace Page | Support ThreadMinesweeper Template: Marketplace Page | Support Thread ――― Maze Creator: Marketplace Page | Support Thread
Comment
Comment