Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
case 6: ?
Author Message
X4anco Offline
Member

Posts: 140
Joined: Apr 2011
Reputation: 0
Post: #1
Bug case 6: ?
Hello peoples, Smile

I was looking through some scripts of the original Amnesia levels and I came across this
break;
case 6:
(Map: 00_rainy_hall.map Line: 1069)

And I have no idea what it does Angry can you please explain to me?
Put it simply as I am simple Big Grin .

I like poop
08-05-2011 12:49 PM
Find all posts by this user Quote this message in a reply
Tanshaydar Offline
From Beyond

Posts: 3,091
Joined: Mar 2009
Reputation: 66
Post: #2
RE: case 6: ?
It's a switch case statement.
What it simply does is checking variable and if it's 6, do what case 6 says.
http://www.cplusplus.com/doc/tutorial/control/

(This post was last modified: 08-05-2011 12:53 PM by Tanshaydar.)
08-05-2011 12:52 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Kyle Offline
Posting Freak

Posts: 910
Joined: Sep 2010
Reputation: 7
Post: #3
RE: case 6: ?
It's a part of a "switch".

http://wiki.frictionalgames.com/hpl2/tut.../sequences

If you scroll down, you'll see a switch. Also look it up on the search bar located near the bottom of the Frictional Games Forum page of Custom Stories & Modifications. Smile


Edit: Ninja'd! xD

(This post was last modified: 08-05-2011 12:54 PM by Kyle.)
08-05-2011 12:54 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)