Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 4 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to make floor break when u go to a certain area
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#59
RE: how to make floor break when u go to a certain area

(07-03-2014, 05:13 AM)victorkim890(KimmyChimmy) Wrote: how to touch something and it says a message like if u touch a rock then it says this is a rock
HPS file.
Spoiler below!

PHP Code: (Select All)
void OnStart()
{
SetEntityPlayerInteractCallback("EntityToInteract""MessageAppear"false);
}

void MessageAppear(string &in asEntity)
{
SetMessage("Notes""Entry"0);



LANG file
Spoiler below!

<LANGUAGE>
  <RESOURCES>
  </RESOURCES>
  <CATEGORY Name="CustomStoryMain">
    <Entry Name="Description">Description</Entry>
  </CATEGORY>
  <CATEGORY Name="Notes">
    <Entry Name="Entry">This is a Rock. And there's more.</Entry>
</LANGUAGE>


"Veni, vidi, vici."
"I came, I saw, I conquered."
(This post was last modified: 07-03-2014, 06:22 AM by PutraenusAlivius.)
07-03-2014, 06:14 AM
Find


Messages In This Thread
RE: how to make floor break when u go to a certain area - by PutraenusAlivius - 07-03-2014, 06:14 AM



Users browsing this thread: 1 Guest(s)