Help Codding:

The time is right for a suicide!
Post Reply
bamz0rz
Archangel/1B
Archangel/1B
Posts: 84
Joined: 07 Dec 2011, 07:02

Help Codding:

Post by bamz0rz »

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.
bamz0rz
Archangel/1B
Archangel/1B
Posts: 84
Joined: 07 Dec 2011, 07:02

Re: Help Codding:

Post by bamz0rz »

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.
bamz0rz
Archangel/1B
Archangel/1B
Posts: 84
Joined: 07 Dec 2011, 07:02

Re: Help Codding:

Post by bamz0rz »

ok i figured it out guise,

i had to call:

ServerRestartplayer()
bamz0rz
Archangel/1B
Archangel/1B
Posts: 84
Joined: 07 Dec 2011, 07:02

Re: Help Codding:

Post by bamz0rz »

you're the man Bamz0rz! so much more helpful than nobody! we are not worthy of your codding skills!
User avatar
[FGS]Chees
Cherub/7H
Cherub/7H
Posts: 1187
Joined: 13 Nov 2011, 15:37
Location: UK

Re: Help Codding:

Post by [FGS]Chees »

bamz0rz congrats with a conversation in forum with yourself, bro you nailed it :-D
Image
bamz0rz
Archangel/1B
Archangel/1B
Posts: 84
Joined: 07 Dec 2011, 07:02

Re: Help Codding:

Post by bamz0rz »

i'm not sure what you mean by yourself. i was simply conversing with my pawn, i'm the playerpawn, aka, the brains.
Post Reply