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
KeyDrop
Neelke Offline
Senior Member

Posts: 668
Threads: 82
Joined: Apr 2013
Reputation: 26
#2
RE: KeyDrop

It might be that you're trying to activate the key when player has read note, am I right?

void OnStart()
{
     SetEntityCallbackFunc("note_generic_1", "DoorKeyFallWhenReadingNote");
}

void DoorKeyFallWhenReadingNote(string &in asEntity, string &in asType)
{
     SetEntityActive("key_study_1", true);
     SetMessage("Messages", "LoL", 0);
}

Derp.
(This post was last modified: 04-19-2014, 03:55 PM by Neelke.)
04-19-2014, 03:54 PM
Find


Messages In This Thread
KeyDrop - by MacKetchup - 04-19-2014, 03:50 PM
RE: KeyDrop - by Neelke - 04-19-2014, 03:54 PM
RE: KeyDrop - by MacKetchup - 04-19-2014, 03:58 PM
RE: KeyDrop - by Mudbill - 04-19-2014, 07:17 PM
RE: KeyDrop - by MacKetchup - 04-19-2014, 08:20 PM



Users browsing this thread: 2 Guest(s)