
120 Game Development and Simulation with Unreal Technology
can make sure it is the pla yer object.
73. Drag off a wire from the Other Actor output pin of the Event Actor Begin
Overlap.
74. Type == in the search box to place the Equal (object) math function.
75. The object we need to compare to is the de fault player pawn. You can get this by
perfor ming the following tasks:
a. Left-click on the Open Obj ect p in
b. Drag a wire to the left
c. Search for and place the Get Play er Pawn node.
76. Next, we need a flow control node ca lled a Branch statement. Perform the follow-
ing tasks:
a. Drag off a wire from the exec (white) output pin of the OnComponent ...