The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Iyiyt Offline
Junior Member

Posts: 13
Threads: 5
Joined: Jul 2012
Reputation: 0
#1
Message Appears when you look at an entity

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;
void OnEnter()
{
ChangePlayerStateToNormal();
SetEntityPlayerLookAtCallback("JimmyOne", "JimmyOne", true);
}

void JimmyOne()
{
SetMessage("Message", "JimmyMessageOne", 6.0f);
}
In the LANG file, the category is Message and the name is JimmyMessageOne, so that isn't the problem.
Any help is always appreciated.
(This post was last modified: 08-07-2012, 11:17 PM by Iyiyt.)
07-28-2012, 04:49 AM
Find


Messages In This Thread
Message Appears when you look at an entity - by Iyiyt - 07-28-2012, 04:49 AM



Users browsing this thread: 1 Guest(s)