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
Locked Door Message not Working, Help Needed. (Awarding Virtual Cookie)
Zaffre Away
Posting Freak

Posts: 867
Threads: 50
Joined: Jul 2012
Reputation: 30
#11
RE: Problem with "extra_english.lang"

Okay. This is how your .hps file should look. We'll presume your door's ID is mansion_1.

void OnStart()
{
SetEntityPlayerInteractCallback("mansion_1", "DoorLockedMessage", true);
}

void DoorLockedMessage(string &in entity)
{
SetMessage("Messages", "lockeddoor", 0);
}

This makes it so that when you interact with the swing door, it will display a message stating that the door is locked. The message will not be displayed again.

As of September 2nd, 2014, I've left the Frictional forums. Check my profile for more details.
09-03-2012, 04:20 PM
Find


Messages In This Thread
RE: Problem with "extra_english.lang" - by Zaffre - 09-03-2012, 01:58 AM
RE: Problem with "extra_english.lang" - by Frodos - 09-03-2012, 02:26 AM
RE: Problem with "extra_english.lang" - by Zaffre - 09-03-2012, 02:53 AM
RE: Problem with "extra_english.lang" - by Frodos - 09-03-2012, 03:56 AM
RE: Problem with "extra_english.lang" - by Zaffre - 09-03-2012, 04:22 AM
RE: Problem with "extra_english.lang" - by Frodos - 09-03-2012, 04:29 AM
RE: Problem with "extra_english.lang" - by Zaffre - 09-03-2012, 04:20 PM
RE: Problem with "extra_english.lang" - by Frodos - 09-03-2012, 11:05 PM
RE: Problem with "extra_english.lang" - by Zaffre - 09-03-2012, 11:11 PM
RE: Problem with "extra_english.lang" - by Frodos - 09-03-2012, 11:13 PM



Users browsing this thread: 1 Guest(s)