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
Messages on the screen?
rallelol Offline
Member

Posts: 53
Threads: 11
Joined: Dec 2011
Reputation: 1
#3
RE: Messages on the screen?

(01-08-2012, 06:03 PM)Statyk Wrote: Go to the locked door in the LevelEditor and go into its "Entity" tab. Find "PlayerInteractCallback" and fill in the entry box with "lockeddoor1". Then fill this in in the .hps anywhere but OnStart, OnEnter, or OnLeave:

void lockeddoor1(string &in asEntity)
{
SetMessage("ScreenMessages", "door1", 3);
}


Then go into the .lang and put this somewhere:

<CATEGORY Name="ScreenMessages">
<Entry Name="door1">Why is the door locked?</Entry>
</CATEGORY>
Thank You very much!


01-08-2012, 06:22 PM
Find


Messages In This Thread
Messages on the screen? - by rallelol - 01-08-2012, 05:56 PM
RE: Messages on the screen? - by Statyk - 01-08-2012, 06:03 PM
RE: Messages on the screen? - by rallelol - 01-08-2012, 06:22 PM
RE: Messages on the screen? - by Statyk - 01-08-2012, 06:26 PM



Users browsing this thread: 1 Guest(s)