07-28-2012, 04:49 AM
Sigh... need more help. I'm trying to make a message appear when I look at an entity. It's name and Callback Func in the Level Editor are JimmyOne. Here's my code;
In the LANG file, the category is Message and the name is JimmyMessageOne, so that isn't the problem.
Any help is always appreciated.
Code:
void OnEnter()
{
ChangePlayerStateToNormal();
SetEntityPlayerLookAtCallback("JimmyOne", "JimmyOne", true);
}
void JimmyOne()
{
SetMessage("Message", "JimmyMessageOne", 6.0f);
}Any help is always appreciated.