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
How to "Make message appear when interacting object" (SOLVED)
ModManDann Offline
Member

Posts: 61
Threads: 6
Joined: Dec 2010
Reputation: 0
#2
RE: How to "Make message appear when interacting object" ANSWER!

it doesn't work like that.

You need to go to the level editor and click your door, click the entity tab and find the PlayerInteractCallback field. Write the following in it: LockedDoor .
Now go to your hps file and paste the following code in the bottom of it

LockedDoor(string &in entity)
    {
        SetMessage("Message", "Locked1", 20.0f);
    }
12-27-2010, 02:34 PM
Find


Messages In This Thread
RE: How to "Make message appear when interacting object" ANSWER! - by ModManDann - 12-27-2010, 02:34 PM



Users browsing this thread: 1 Guest(s)