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
-Simple- key open door
Jagsrs28 Offline
Member

Posts: 101
Threads: 25
Joined: Jun 2012
Reputation: 0
#3
RE: -Simple- key open door

It keeps saying Item cannot be used this way.

This is what I have:


void OnStart()
{
AddUseItemCallback("", "key1", "door1", "OpenS", true);
}

void OpenS(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("door1", false, true);
RemoveItem("key1");
}

See anything wrong?

Keyname: key1
Doorname: door1

Special Custom Story for 2 special people!

[Image: LWFcAl]


06-23-2012, 09:59 AM
Find


Messages In This Thread
-Simple- key open door - by Jagsrs28 - 06-23-2012, 09:00 AM
RE: -Simple- key open door - by Adny - 06-23-2012, 09:12 AM
RE: -Simple- key open door - by MaZiCUT - 06-23-2012, 11:07 AM
RE: -Simple- key open door - by Jagsrs28 - 06-23-2012, 12:04 PM
RE: -Simple- key open door - by Jagsrs28 - 06-23-2012, 09:59 AM
RE: -Simple- key open door - by Your Computer - 06-23-2012, 12:28 PM
RE: -Simple- key open door - by MaZiCUT - 06-23-2012, 12:31 PM
RE: -Simple- key open door - by Adny - 06-23-2012, 12:35 PM
RE: -Simple- key open door - by Jagsrs28 - 06-23-2012, 12:46 PM
RE: -Simple- key open door - by MaZiCUT - 06-23-2012, 12:49 PM
RE: -Simple- key open door - by Cruzore - 06-23-2012, 12:49 PM
RE: -Simple- key open door - by Adny - 06-23-2012, 12:50 PM
RE: -Simple- key open door - by MaZiCUT - 06-23-2012, 12:53 PM
RE: -Simple- key open door - by Adny - 06-23-2012, 01:03 PM
RE: -Simple- key open door - by MaZiCUT - 06-23-2012, 01:22 PM
RE: -Simple- key open door - by Jagsrs28 - 06-23-2012, 01:25 PM
RE: -Simple- key open door - by Your Computer - 06-23-2012, 01:36 PM



Users browsing this thread: 2 Guest(s)