- Home /
[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.
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 $$anonymous$$ching 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.
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.
thank but i want a script that when you click e get a page from the wall
"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
Follow this Question
Related Questions
Slender - Collecting papers with left mouse click? 1 Answer
Slender type game 1 Answer
Gem System help! For Mini Game! 1 Answer
Stop movement when at walls 1 Answer
Click-to-move questions 2 Answers