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
Message Appears when you look at an entity
ElectricRed Offline
Member

Posts: 106
Threads: 13
Joined: Jun 2012
Reputation: 5
#2
RE: Message Appears when you look at an entity

Try this:

void OnEnter()
{
ChangePlayerStateToNormal();

SetEntityPlayerLookAtCallback("JimmyOne", "JimmyOne", true);
}

void JimmyOne(string &in asEntity, int alState)
{
SetMessage("Message", "JimmyMessageOne", 6.0f);
}

[Image: 9lkjf4.jpg]

(This post was last modified: 07-28-2012, 05:01 AM by ElectricRed.)
07-28-2012, 05:01 AM
Find


Messages In This Thread
RE: Message Appears when you look at an entity - by ElectricRed - 07-28-2012, 05:01 AM



Users browsing this thread: 1 Guest(s)