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
hunchbackproduction Offline
Junior Member

Posts: 36
Threads: 13
Joined: Jul 2013
Reputation: 0
#10
RE: SetLanternLitCallback

Ok! tried to get this to work, I thought I understood this, But boy was I wrong xD
I need a little more clarification on how this whole thing works.
When you explained the I and K parameter thing I got it, But why is I and K needed ? Can't you just code: "addnumber(3,1)" ?


Also what is up with "public" I saw you put that there before your voids

I still do not get the whole lanternlit, and how it links to parameters ? Are the parameters "true" or "false" and do I have to define these somewhere ?


void LanternLit(bool lanternLit)
{
if(lanternLit)
{
SetMessage("test", "test", 1);
}
else
{

}
}

I have this piece of test code, please explain to me why it does not work! As when I light my lantern the test message does not appear.
PS: I have given you a reputation for the help so far ^ Thanks!

Scripting level is over 9000!
(This post was last modified: 08-03-2013, 07:17 PM by hunchbackproduction.)
08-03-2013, 07:16 PM
Website 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 hunchbackproduction - 08-03-2013, 07:16 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)