Frictional Games Forum (read-only)

Full Version: How To use Signs?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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)
Sign areas aren't scripted. Go to the second tab labelled 'Area' and designate the category and entry in your lang file to display.
Thanks dude, it worked. Easier than I expected.

-Grey Fox