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
Show message when interacting with a door?
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#11
RE: Show message when interacting with a door?

Try:

void OnStart()
{
    SetEntityPlayerInteractCallback("wifesroom", "showdoortext1", true);
}


void showdoortext1(string &in asEntity)
{
    if(GetSwingDoorLocked("wifesroom") == true)
    {
        SetMessage("Message", "doortext1", 0);
    }
}
09-29-2012, 07:30 PM
Find


Messages In This Thread
RE: Show message when interacting with a door? - by Statyk - 09-29-2012, 07:30 PM



Users browsing this thread: 1 Guest(s)