Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How To use Signs?
Author Message
GreyFox Offline
Member

Posts: 162
Joined: Jul 2011
Reputation: 2
Post: #1
How To use Signs?
Hey Guys I dunno how to use these signs. I have a sign Area and I tried this in my script

SetEntityPlayerLookAtCallback("", "LibarySign", true);

void LibarySign(string &in asEntity, int alState)
{
SetMessage("Examine", "Sign_Libary", 2.0f);
}

extra_english.lang

<Entry Name="Sign_Libary">"Libary"</Entry>

(this is not my full script or English.lang I have everything working other than this sign)

Current Project
Forgotten
08-22-2011 05:40 AM
Find all posts by this user Quote this message in a reply
palistov Offline
Posting Freak

Posts: 1,175
Joined: Mar 2011
Reputation: 56
Post: #2
RE: How To use Signs?
Sign areas aren't scripted. Go to the second tab labelled 'Area' and designate the category and entry in your lang file to display.

08-22-2011 08:32 AM
Find all posts by this user Quote this message in a reply
GreyFox Offline
Member

Posts: 162
Joined: Jul 2011
Reputation: 2
Post: #3
RE: How To use Signs?
Thanks dude, it worked. Easier than I expected.

-Grey Fox

Current Project
Forgotten
08-22-2011 08:04 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)