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


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scripting help
Tomato Cat Offline
Senior Member

Posts: 287
Threads: 2
Joined: Sep 2012
Reputation: 20
#2
RE: Scripting help

This is also an issue:

PHP Code: (Select All)
{
AddUseItemCallback("""cellar_key_1""cellar_1""UsedKeyOnDoor"true);


A callback needs to be declared in another function (onstart, etc) for it to work.

I don't think writing it like above generates a compiler error (provided there are no curly braces), but the AddUseItemCallback function itself won't ever be called.
07-19-2013, 05:05 AM
Find


Messages In This Thread
Scripting help - by EvilDeadPunk - 07-19-2013, 03:36 AM
RE: Scripting help - by Tomato Cat - 07-19-2013, 05:05 AM
RE: Scripting help - by EvilDeadPunk - 07-19-2013, 07:42 AM
RE: Scripting help - by No Author - 07-19-2013, 10:21 AM
RE: Scripting help - by EvilDeadPunk - 07-19-2013, 04:57 PM



Users browsing this thread: 2 Guest(s)