miguli
Junior Member
Posts: 43
Threads: 7
Joined: Jun 2011
Reputation:
0
|
Door opens when take item
How to make that if door is locked, but you take example: note then door unlock's?
Thanks for help people!
(hopelly you understand)
btw: is anyone used custom map name Hope?
Amnesia map:
Hope - Work in Progress.
|
|
06-10-2011, 03:44 AM |
|
ferryadams10
Senior Member
Posts: 288
Threads: 40
Joined: Apr 2011
Reputation:
19
|
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 |
|