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
Error Message, doesn't specify what problem is
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#10
RE: Error Message, doesn't specify what problem is

(12-31-2011, 08:13 PM)Rokotain Wrote:
(12-31-2011, 07:09 PM)Statyk Wrote: Problem 3:

Make a script area around the door, go into the "area" tab on the right and fill in the PlayerLookAtCallback box with "kitchenlookat" and make sure "PlayerLookAtCallbackAutoRemove" is checked, then go into your .hps and anywhere in it, put this, changing caps with your info:

//__________________________

void kitchenlookat(string &in asEntity, int alState)
{
SetMessage("MESSAGE_CATEGORY", "MESSAGE_ENTRY", 4);
}
Sorry if this is a really nooby question : p
But what should I put in the message category? I tried something similar once, but just got error.
Would you please post an example^^?
Add this to the lang somewhere:

<CATEGORY Name="MiscMessages">
<Entry Name="kitchentext1">The Kitchen</Entry>
</CATEGORY>

//________________________

Then replace "MESSAGE_CATEGORY" with: "MiscMessages"
and "MESSAGE_ENTRY" with: "kitchentext1"
12-31-2011, 08:23 PM
Find


Messages In This Thread
RE: Error Message, doesn't specify what problem is - by Statyk - 12-31-2011, 08:23 PM



Users browsing this thread: 2 Guest(s)