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
How to lock/unlock a chest
SilentStriker Offline
Posting Freak

Posts: 950
Threads: 26
Joined: Jul 2011
Reputation: 43
#7
RE: Why wont this callback work? (spot a bug)

(02-16-2012, 11:46 AM)pingo2 Wrote: Thx guys i finally made it work! Here is the final script:

//--------------------------------------------------
void OnStart()
{
SetEntityCallbackFunc("bloodynote", "interactnote1");

}


void interactnote1(string &in asEntity, string &in OnPickUp)
{
SetLeverStuckState("lanternchest", 0, false);
}
//------------------------------------------------

Btw i set the bool effect false, didint know what it was for. But if i set it to true then what do you guess would happen?
Nothing special I think Smile


02-16-2012, 12:13 PM
Find


Messages In This Thread
How to lock/unlock a chest - by ingedoom - 02-16-2012, 09:37 AM
RE: Why wont this callback work? (spot a bug) - by SilentStriker - 02-16-2012, 12:13 PM



Users browsing this thread: 1 Guest(s)