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
Door opens when take item
ferryadams10 Offline
Senior Member

Posts: 288
Threads: 40
Joined: Apr 2011
Reputation: 19
#2
RE: Door opens when take item

void OnStart()
{
SetEntityPlayerInteractCallback("Entity name", "MyFunc", true);
}

void MyFunc(string &in Entity)
{
//Put here what you want to happen when interacting with the item ;P
}

Got a nice sofa
Please come and have a seat for a while

06-10-2011, 11:20 AM
Find


Messages In This Thread
Door opens when take item - by miguli - 06-10-2011, 03:44 AM
RE: Door opens when take item - by ferryadams10 - 06-10-2011, 11:20 AM



Users browsing this thread: 1 Guest(s)