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 Messages
H. Filipe Offline
Junior Member

Posts: 22
Threads: 6
Joined: Jun 2011
Reputation: 0
#2
RE: Locked Door Messages

Try this:

In mapname.hps

void OnStart()
{
SetEntityPlayerInteractCallback("door", "Interactdoor", false);
}

void Interactdoor(string &in asEntity)
{
    SetMessage("Message", "doorlocked", 0);
}

In extra_english.lang
<CATEGORY Name="Message">
         <Entry Name="doorlocked">Locked</Entry>
    </CATEGORY>

E-mail: postal2DeusEx@hotmail.com
Xbox/Live Account: HUGO BOLT 0GTA0

Working on a Custom Story :)
(This post was last modified: 07-07-2011, 06:42 PM by H. Filipe.)
07-07-2011, 06:40 PM
Find


Messages In This Thread
Locked Door Messages - by MrCookieh - 07-07-2011, 06:18 PM
RE: Locked Door Messages - by H. Filipe - 07-07-2011, 06:40 PM
RE: Locked Door Messages - by MrCookieh - 07-07-2011, 06:57 PM



Users browsing this thread: 1 Guest(s)