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 Problem
Tomato Cat Offline
Senior Member

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

Minor discrepancy in your callback function.


PHP Code: (Select All)
AddUseItemCallback("""Key""Mansion_door""UsedKeyonDoor"true);
AddUseItemCallback("""Key2""Door2""UsedKeyOnDoor"true);

//Two variations. UsedKeyOnDoor & UsedKeyonDoor

void UsedKeyonDoor(string &in asItemstring &in asEntity)

//It's "UsedKeyonDoor" here 

Try fixing that.
(This post was last modified: 05-20-2013, 07:59 PM by Tomato Cat.)
05-20-2013, 07:59 PM
Find


Messages In This Thread
Scripting Problem - by amnesiaplayer321 - 05-20-2013, 07:19 PM
RE: Scripting Problem - by Bridge - 05-20-2013, 07:31 PM
RE: Scripting Problem - by amnesiaplayer321 - 05-20-2013, 07:40 PM
RE: Scripting Problem - by Bridge - 05-20-2013, 07:42 PM
RE: Scripting Problem - by amnesiaplayer321 - 05-20-2013, 07:44 PM
RE: Scripting Problem - by Tomato Cat - 05-20-2013, 07:59 PM
RE: Scripting Problem - by amnesiaplayer321 - 05-20-2013, 08:06 PM
RE: Scripting Problem - by OriginalUsername - 05-20-2013, 08:27 PM
RE: Scripting Problem - by amnesiaplayer321 - 05-20-2013, 08:45 PM
RE: Scripting Problem - by Bridge - 05-20-2013, 10:01 PM
RE: Scripting Problem - by PutraenusAlivius - 05-21-2013, 02:24 AM
RE: Scripting Problem - by Bonehead - 05-21-2013, 02:27 AM
RE: Scripting Problem - by amnesiaplayer321 - 05-21-2013, 04:07 AM
RE: Scripting Problem - by Tomato Cat - 05-21-2013, 05:55 AM
RE: Scripting Problem - by Your Computer - 05-21-2013, 11:48 AM
RE: Scripting Problem - by Tomato Cat - 05-21-2013, 03:17 PM
RE: Scripting Problem - by amnesiaplayer321 - 05-21-2013, 01:04 PM



Users browsing this thread: 4 Guest(s)