View Full Version : Player Controller always at PlayerWaiting
12-26-2011, 03:40 PM
Hi. I'm trying to set a default state for the player:
auto state WaitingSelection
But it always returns PlayerWaiting, so it never enters this state. Do you know when it's being overriden?
12-26-2011, 05:58 PM
The Pawn is probably overriding the controller state to the value of LandMovementState when it spawns. Look at the function DropToGround() in the Pawn class.
12-26-2011, 07:27 PM
My player controller doesn't have any pawn
12-26-2011, 11:11 PM
In your game class set bDelayedStart=false and bRestartLevel=false in the default properties. Really the delayed start is what you need more but the restart level may help you from contacting the forums again about something else later on. If that doesn't help let us know :)
12-28-2011, 11:34 AM
Hello Contagion. I set those attributes to false but now the player state is always Dead. I get this errors on the console:
[0003.99] Log: >>>>>>>>>>>>>> Initial startup: 3.99s <<<<<<<<<<<<<<<
[0007.84] ScriptLog: Couldn't spawn player of type None at PlayerStart_0
[0007.84] ScriptLog: failed to spawn player at PlayerStart_0
[0010.56] ScriptWarning: Invalid user index (255) specified for ClearReadProfileSettingsCompleteDelegate()
Function OnlineSubsystemSteamworks.OnlineSubsystemSteamwork s:ClearReadProfileSettingsCompleteDelegate:00FE
My player is working becuase I've created an exec function on my player class and it works well. So what's happening?
As I said before, I don't want a pawn for my playercontroller, so that's maybe whats causing the problem
12-28-2011, 11:48 AM
Ok I fixed it by deleting some bindings that fired Pawn code. Since I don't have one, it gave me errors.
But still I'm getting Dead state even when I made auto state Idle in my player controller. So it must be overriden someqhere else.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.