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


Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A simple key problem.
Asaratha Offline
Junior Member

Posts: 14
Threads: 5
Joined: Jul 2011
Reputation: 0
#3
RE: A simple key problem.

(03-06-2012, 10:40 PM)Mackiiboy Wrote:
(03-06-2012, 10:25 PM)Asaratha Wrote: Hey guys!

I used to do scripting a long time ago, and for the past week I've been getting into it again. Although, trying to unlock a door using a key is giving me quite the problem for some reason.
.

void AddUseItemCallback(string& asName, string& asItem, string& asEntity, string& asFunction, bool abAutoDestroy);

AddUseItemCallback("", "", "key_1", "KeyOnDoor", true);

I think the red-marked spots are wrong and they instead should be:

AddUseItemCallback("", "key_1", "lockedhall", "KeyOnDoor", true);

Add you door (lockedhall) and set the Item (key_1) on the right place. Hope it works Shy

Thank you so much <3


03-06-2012, 10:48 PM
Find


Messages In This Thread
A simple key problem. - by Asaratha - 03-06-2012, 10:25 PM
RE: A simple key problem. - by Mackiiboy - 03-06-2012, 10:40 PM
RE: A simple key problem. - by Asaratha - 03-06-2012, 10:48 PM



Users browsing this thread: 1 Guest(s)