Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/APlayerController
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
| Include | #include "GameFramework/PlayerController.h" |
UFUNCTION (Reliable, Client)
void ClientGotoState
(
FName NewState
)
Remarks
Server uses this to force client into NewState . @Note ALL STATE NAMES NEED TO BE DEFINED IN name table in UnrealNames.h to be correctly replicated (so they are mapped to the same thing on client and server).