1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | Level Viewport bp_test Details Actor Tags Box Trigger Actor Hidden in Game Level Blueprint 1 DestroyActor Event Tick Get All Actors with Tag Get Actor Location Set Actor Location Add Event for Trigger Box 1 OnActorBeginOverlap cast to ThirdPersonCharacter begin_event OnActorEndOverlap bp_test: Event Graph Event BeginPlay Exec Sequence Delay Print String Set Timer by Event Event test_event Return Value Promote to variable New Var 1 If New Var 0 true Print String false Print String Event Destroyed 4 New Var 1 Clear and Invalidate Timer by Handle 5 Array Var 2 For Each Loop Reverse for Each Loop 6 Struct Var 3 : Struct Type 3 Break Struct Type 3 7 Enum Var 4 : Enum Type 4 Switch on Enum Type 4 Add Timeline Lerp Vector Set World Location test_event: Custom Event Exec Draw Debug Point ThirdPersonCharacter : Event Graph begin_event: Custom Event Event Dispatchers hitDemon 1 hitDemon Demon1 : Event Graph Get Player Character cast to ThirdPersonCharacter bind event to hitDemon add custom event Demon1 Details Collision Collision Presets Custom... ThirdPersonCharacter : Blueprint Components ThirdPersonCharacter Use Controller Rotation Yaw CameraBoom Use Pawn Control Rotation CharacterMovement Orient Rotation to Movement 1 Capsule Component Get Word Location as Start Get Forward Vector x 10000 + Get World Location as End Line Trace By Channel Get Player Controller Show Mouse Cursor ConvertMouseLocationToWorldSpace Level Blueprint Q CubeMesh Static Mesh Component Create Dynamic Material Instance Set Vector Parameter Value Parameter Name : cube_color4 Mat_cube asigned to CubeMesh cube_color4 : Constant3Vector Base Color |
In Actor Blueprint, enable input event,
1 2 3 4 | bp_test: Event Graph Event BeginPlay Get Player Controller Enable Input |
Questions,
- Why can't 'Delay' function be used in 'While Loop'?
-
In Game mode, can't control previous character while incarnating into a new character?
1 2 3 4 5
ThirdPersonCharactor1 Details Pawn Auto Possess Player Player 0
refer to:
我是一只好蛋YEAH
https://blog.csdn.net/sunday7279/article/details/88665577