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
Quick script func!
Author Message
SLAMnesia Offline
Member

Posts: 94
Joined: May 2011
Reputation: 0
Post: #1
Quick script func!
Heya!
Whats the script line for a function where it displays a message in the middle of your screen while you look at an entity?
I know it involves .lang file as well but I'm really lost can someone give me an entire description of what I need to do Big Grin plox

this is what I have so far:
void OnStart()
{
SetEntityPlayerLookAtCallback( "shirt1", "LookingFunc1", false);
}


void LookingFunc1(string &in entity, int alState)
{
void SetMessage(shirt, shirt, 1);
}
06-29-2011 03:03 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Quick script func! - SLAMnesia - 06-29-2011 03:03 AM
RE: Quick script func! - Kyle - 06-29-2011, 03:13 AM
RE: Quick script func! - SLAMnesia - 06-29-2011, 08:53 PM



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