- Plug one of the Current Destinations into the top green input of the Integer + Integer node, and do the same for the other.
- Create an Array Length node.
- Bring in the “Array Destinations” vector array, and select “Get”.
- Connect the Array Destinations node to the squared input of the Array Length.
- Bring in four Current Destination nodes and select “Set” for all four.
- Connect the “True” of the 1st Branch into flow input of the first “Set” Current Destinations node.
- Connect the “True” of the 2nd Branch into flow input of the second “Set” Current Destinations node.
- Connect the “True” of the 3rd Branch into flow input of the third “Set” Current Destinations node.
- Connect the “True” of the 4th Branch into flow input of the fourth “Set” Current Destinations node.
- Connect the green output of the Integer + Integer node which has a value of “1”, to the input of the first green SET Current Destinations node.
- Connect the green output of the Integer + Integer node which has a value of “-1”, to the input of the second green SET Current Destinations node.
- Connect the green output of the Array Length node to the input of the third green SET Current Destinations node.
- Go to the game’s viewport and drag and drop pawn into scene.
- In the Details panel, under Pawn, change “Auto Possess Player” to “Player 0”.
- Create a new Game Mode class blueprint and double click the icon in Content Browser.
- In the Details panel of Game Mode, under Classes, change “Default Pawn Class” to “My_Pawn” (which is the name I made for my pawn).
- Hit Compile and Save on everything.
MY APOLOGIES ABOUT THE NUMBERING. IT CHANGED WHEN I PASTED IT INTO HERE, HOWEVER THE NUMBERING IS STILL ACCURATE. AFTER MY SECOND ITERATION OF THIS BLUEPRINT, IT STILL DIDN’T SEEM TO WORK.
BELOW IS THE NEW PAWN BLUEPRINT: