Hey guise, this board seems to be better than dxalpha nowadays, so I need some help codding:
basically, does anyone know how to restart a player? Right now, when I call restartplayer, the log show that it finds a playerstart but the bool 'foundstart' which setlocation(Startspot), is false.
in any case, what happens when a player logins? What gets called for player restart? here is something else weird: my player is hidden, but even though I set the player to be bhidden=false, the player is still invisible. If i type 'walk' the player flashes visible for a second. Also, I noticed that if I change playerreplicationinfo.bisspectator = false, it doesn't seem to replicate until I restart?
please advise.
Help Codding:
Re: Help Codding:
Also, i force the player into a state 'playerspectating'. How can I get the player out of this state? Nothing seems to work, and when a player is in this state, its like a completely different class: the only function you can call from that player are limited to whats in the state.
and the unrealscript wikis are so unhelpful: they say just type gotoState('playerwalking'), guess wat? that doesn't do anything.
and the unrealscript wikis are so unhelpful: they say just type gotoState('playerwalking'), guess wat? that doesn't do anything.
Re: Help Codding:
ok i figured it out guise,
i had to call:
ServerRestartplayer()
i had to call:
ServerRestartplayer()
Re: Help Codding:
you're the man Bamz0rz! so much more helpful than nobody! we are not worthy of your codding skills!
- [FGS]Chees
- Cherub/7H
- Posts: 1187
- Joined: 13 Nov 2011, 15:37
- Location: UK
Re: Help Codding:
i'm not sure what you mean by yourself. i was simply conversing with my pawn, i'm the playerpawn, aka, the brains.