Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by DLGScript · Jul 30, 2012 at 12:20 PM · networkingmultiplayernetworkrespawnkill

unity3d multiplayer respawn

hey, i have multiplayer game, and i want to to that when player is dead, he will get a button named "Respawn", after he clicking on it, he will respawn. how can i do that?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by SomeGuy22 · Jul 30, 2012 at 06:53 PM

http://docs.unity3d.com/Documentation/Components/gui-Controls.html

Deactivate movement, and the collider, and any weapon scripts, and put a respawn button. Then, if he presses that button, reset the position of the player and turn everything back on.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image DLGScript · Jul 31, 2012 at 10:36 AM 0
Share

Deactivate movement, and the collider, and any weapon scripts, and put a respawn button. Then, if he presses that button, reset the position of the player and turn everything back on.

do that if player have 0 hp(life)?

avatar image SomeGuy22 · Jul 31, 2012 at 03:58 PM 0
Share

Um... yes do that if he has 0 life. You'd want to use GUI.Button to make the... button. Then make the transform.position of the player = the respawn point.

avatar image
0

Answer by DLGScript · Jul 31, 2012 at 11:18 AM

Deactivate movement, and the collider, and any weapon scripts, and put a respawn button. Then, if he presses that button, reset the position of the player and turn everything back on.

do that if player have 0 hp(life)?

Comment
Add comment · Show 5 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image FLASHDENMARK · Jul 31, 2012 at 11:21 AM 0
Share

Use the "Add new comment" button ins$$anonymous$$d of posting an answer.

avatar image DLGScript · Jul 31, 2012 at 02:04 PM 0
Share

that what i did -_-

avatar image FLASHDENMARK · Jul 31, 2012 at 03:19 PM 0
Share

Then what is the need for this?

avatar image DLGScript · Aug 11, 2012 at 06:46 PM 0
Share

but i want to attaching it to a scoreboard.

avatar image DLGScript · Aug 25, 2012 at 12:31 PM 0
Share

please help me guy's :\

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity networking tutorial? 6 Answers

Unity Multiplayer Design. Is it complicated to implement and learn? 1 Answer

UNET AddPlayerForConnection with already existing player GameObject 0 Answers

Multiplayer objects isn't equals. 1 Answer

Can I add a network prefab at runtime? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges