• 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 macodys · Aug 19, 2012 at 09:40 PM · howwallscollectpages

[Closed] How to collect pages on the walls?

Hello i am new and i dont know very much script. I was wonder how can i make a script that can collect 8 pages and when you take the last page quit game. Thanks for reading.

Comment
Add comment · Show 4
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 DaveA · Aug 19, 2012 at 09:45 PM 0
Share

What do you mean by 'page' and 'wall'?

avatar image Muuskii · Aug 19, 2012 at 09:46 PM 0
Share

I think he wants to make a clone of 'Slender'

avatar image macodys · Aug 19, 2012 at 10:21 PM 0
Share

Yes its like a clone of slender can someone help me?

avatar image DaveA · Aug 20, 2012 at 08:21 PM 1
Share

You should go to forums.unity3d.com and ask around there for someone who would like to collaborate with you on this. Seems you have no coding experience and this board is not for teaching such basics, nor do we write scripts. We can help debug scripts, but you need to do some work first to show us where you are going with it, so we can better help you.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by DaveA · Aug 19, 2012 at 09:46 PM

Whatever 'page' and 'wall' means, you count them up with day-one programming. If the count reaches 8 you call Application.Quit(), but you probably want a final bit of 'congratulations' to appear first. That can be in the same scene or you can load another scene that says that.

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 macodys · Aug 19, 2012 at 10:35 PM 0
Share

thank but i want a script that when you click e get a page from the wall

avatar image DaveA · Aug 20, 2012 at 08:23 PM 0
Share

"The wall" what is that? You never mentioned Slender in the question, and never having played that, have no idea what 'the wall' is.

If you want to count how many times the user has pressed 'fire1' I suggest reading here: http://docs.unity3d.com/Documentation/ScriptReference/Input.GetButtonDown.html

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

10 People are following this question.

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

Related Questions

Slender - Collecting papers with left mouse click? 1 Answer

Slender type game 1 Answer

Sprite appearing under another, but is blocking the raycast to the one over it 0 Answers

Has anyone used MeshChartFree? 0 Answers

What happened to the tree creator sway?? 0 Answers


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