Announcement

Collapse
No announcement yet.

Spawning player from within a menu?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Spawning player from within a menu?

    I have a "Death" Screen set up for when the player dies. This screen gives the option to either exit out of the game or respawn. I have the exit part working by calling a fscommand and then triggering a QUIT console command off of it. How do I spawn the player from within the menu? I know that by default, the character respawns when you left click the mouse. I think it calls ServerRestartPlayer(), if I'm not mistaken. But how would I achieve this from within the menu?

    #2
    use externalinterface.call from the flash file to call a function in your gfxmovieclass that calls the function for restarting the player.

    Comment

    Working...
    X