Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"if" remove message [Solved :D]
Apjjm Offline
Is easy to say

Posts: 496
Threads: 18
Joined: Apr 2011
Reputation: 52
#6
RE: "if" remove message

(05-30-2011, 04:13 PM)DannieWest Wrote: Thanks alot Big Grin (To both of you x))
I wonder though, Apjjm, do it have to be named DoorUnlocked, or is that just a name so you know what you're doing?

You have to give the variable a name, in this case it was called "DoorUnlocked" as that both made sense and was unique. Kyles method is the better option for you to use in this case though.

The return statement will actually return out of that function at that point in the code, which can be used to stop the code executing further on a certain condition (though the same effect is provided by the "else" construct).
(This post was last modified: 05-30-2011, 05:24 PM by Apjjm.)
05-30-2011, 05:19 PM
Find


Messages In This Thread
"if" remove message [Solved :D] - by DannieWest - 05-30-2011, 02:34 PM
RE: "if" remove message - by Apjjm - 05-30-2011, 02:56 PM
RE: "if" remove message - by Kyle - 05-30-2011, 02:57 PM
RE: "if" remove message - by DannieWest - 05-30-2011, 04:13 PM
RE: "if" remove message - by Apjjm - 05-30-2011, 05:19 PM
RE: "if" remove message - by Kyle - 05-30-2011, 04:53 PM
RE: "if" remove message - by DannieWest - 05-30-2011, 10:00 PM



Users browsing this thread: 2 Guest(s)