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
Setting a message when interacting with a door
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#10
RE: Setting a message when interacting with a door

(07-26-2011, 07:03 PM)JenniferOrange Wrote: where do I put that..? xD
SetEntityPlayerInteractCallback("cellar_1", "Locked", true); ?

Yes, and what MrCookieh said. But it should be
<CATEGORY Name="Messages">
<Entry Name="locked">The door is locked</Entry>
</CATEGORY>

--
Anyway it's solved.
However, if you set in LevelEditor it will be there for default in map start. You might wanna add it later so scripting it might be better in some occasions.

(This post was last modified: 07-26-2011, 07:12 PM by Tanshaydar.)
07-26-2011, 07:10 PM
Website Find


Messages In This Thread
RE: Setting a message when interacting with a door - by Tanshaydar - 07-26-2011, 07:10 PM



Users browsing this thread: 1 Guest(s)