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
Setting a message when interacting with a door
JenniferOrange Offline
Senior Member

Posts: 424
Threads: 43
Joined: Jun 2011
Reputation: 33
#3
RE: Setting a message when interacting with a door

I just tried that, and it didn't work. -.-
I looks like this:

{
SetEntityPlayerInteractCallback("", "Locked", true);
}

void Locked(string &in asParent, string &in asChild, int alState)
{
SetMessage("Messages", "locked", 0);
}

anything wrong?
EDIT: Just noticed I didn't change (string &in asParent, string &in asChild, int alState) to (string &in asEntity). Lol, oops.

Ba-da bing, ba-da boom.
(This post was last modified: 07-26-2011, 06:58 PM by JenniferOrange.)
07-26-2011, 06:56 PM
Find


Messages In This Thread
RE: Setting a message when interacting with a door - by JenniferOrange - 07-26-2011, 06:56 PM



Users browsing this thread: 1 Guest(s)