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)
HumiliatioN Offline
Posting Freak

Posts: 1,179
Threads: 64
Joined: Dec 2010
Reputation: 18
#6
RE: How to "Make message appear when interacting object" ANSWER!

(12-27-2010, 04:45 PM)bigfoot Wrote: I'm not sure but I have had the same problem with my notes and I had to name the note like this "Note_[nameofnote]_Text and Note_[nameofnote]_Name".

So try this "Message_Locked0" and "Message_Locked1"

Goodluck

Nope not working this is weird Sad
(12-27-2010, 04:54 PM)Frontcannon Wrote: CHECK your code D:<
You're missing a </Entry>.

Frontcannon i forgot to add that in this thread i have really that Entry already and i have figured out all functions but no luck :/ Thanks anyways..
(12-27-2010, 04:45 PM)bigfoot Wrote: I'm not sure but I have had the same problem with my notes and I had to name the note like this "Note_[nameofnote]_Text and Note_[nameofnote]_Name".

So try this "Message_Locked0" and "Message_Locked1"

Goodluck

Now i figured it out! Smile

You must name that last word example: My door name is "Office Door"

Write that "Door" in PlayerInteractCallback field..

Then write:

void Door(string &in entity)
{
SetMessage("Message", "Door", 20.0f);
}

lang.file: <Entry Name="Door">It's Locked. Where is that key?</Entry>

Simple as that Smile Thanks for the tips!

“Life is a game, play it”
(This post was last modified: 12-27-2010, 05:28 PM by HumiliatioN.)
12-27-2010, 05:17 PM
Find


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



Users browsing this thread: 2 Guest(s)