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
Script Help SetLanternLitCallback
SilentStriker Offline
Posting Freak

Posts: 950
Threads: 26
Joined: Jul 2011
Reputation: 43
#18
RE: SetLanternLitCallback

(08-04-2013, 09:42 AM)Your Computer Wrote:
(08-03-2013, 09:31 PM)SilentStriker Wrote: it should not be bool LanternLit it has to be bool abLit since it's a programmed parameter.

In computer programming, parameter variable names are irrelevant insofar as the signature of the function is concerned. All that really matters is the data type of the parameter. In other words, either "LanternLit" or "abLit" or whatever, or nothing at all, can be used. For example, this would still work:
PHP Code: (Select All)
void LanternCallback(bool)
{
    
// Do something...


True, god I'm rusty with my programming...

(This post was last modified: 08-04-2013, 10:45 AM by SilentStriker.)
08-04-2013, 10:44 AM
Find


Messages In This Thread
SetLanternLitCallback - by hunchbackproduction - 07-19-2013, 05:32 PM
RE: SetLanternLitCallback - by Your Computer - 07-19-2013, 09:20 PM
RE: SetLanternLitCallback - by Tomato Cat - 07-20-2013, 01:02 PM
RE: SetLanternLitCallback - by Tomato Cat - 07-20-2013, 02:58 PM
RE: SetLanternLitCallback - by Tomato Cat - 07-29-2013, 07:37 PM
RE: SetLanternLitCallback - by SilentStriker - 08-03-2013, 09:31 PM
RE: SetLanternLitCallback - by Your Computer - 08-04-2013, 09:42 AM
RE: SetLanternLitCallback - by SilentStriker - 08-04-2013, 10:44 AM
RE: SetLanternLitCallback - by Tomato Cat - 08-04-2013, 01:33 AM
RE: SetLanternLitCallback - by PutraenusAlivius - 08-04-2013, 02:12 AM
RE: SetLanternLitCallback - by Tomato Cat - 08-04-2013, 03:06 AM
RE: SetLanternLitCallback - by PutraenusAlivius - 08-04-2013, 03:28 AM
RE: SetLanternLitCallback - by Tomato Cat - 08-04-2013, 03:34 AM



Users browsing this thread: 1 Guest(s)