spectating when you die ?

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

Shiit

Shiit
Dec 19, 2000
168
0
0
Oh no, it's much simpler than that I guess. There's already a state "Playerspectating". If you're subclassing the playerclasses, all you have to do is make the player go there after he dies (from the Dying state) and add a check for the fire button in that state, just like the Dying state.
If you're not subclassing the player (which is always better), things might get a bit tougher. Your best bet then is to add a Mutate command to your mutator that respawns players, as this allows the player to view others as well. If you're making a gametype, you can still use Mutate commands, because gametypes have their own mutator. In that case you'd have to subclass DMMutator, and change you GameInfo's MutatorClass to contain the new mutie.
 

gor

New Member
Dec 30, 2001
40
0
0
AUS
Visit site
well Im not sure what to do:

I dont want to create any new player classes or anything ..

How can I affect the player though ? Ok so your saying make a Mutator : and get my Game to use it ok thats fine..

But so how do I get a Muatator to handle what I want to do - given that the functions I would probably want to be calling are in the player pawn class ? or is it in gameinfo ?