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
Click on entity for message
OriginalUsername Offline
Posting Freak

Posts: 896
Threads: 42
Joined: Feb 2013
Reputation: 34
#18
RE: Click on entity for message

(03-04-2013, 11:16 PM)sonataarctica Wrote: Wouldn't it be MUCH simpler to do it like this?

PHP Code: (Select All)
void function1(string &in asEntity)

{
SetMessage("FirstMessageCategory""FirstMessageName"2);

SetEntityPlayerInteractCallback("TheEntitiesName"""true);

AddTimer("SetSecondMessage",4,"SetSecondMessage");
}


void SetSecondMessage(string &in asTimer)
{

SetMessage("SecondMessageCategory""SecondMessageName"2);

SetEntityPlayerInteractCallback("TheEntitiesName""NewCallbackFunction"true);
}


void NewCallbackFunction(string &in asEntity)

{
SetMessage("SecondMessageCategory""SecondMessageName"2);







I think that does everything?

Have you tested it?
(This post was last modified: 03-05-2013, 07:45 AM by OriginalUsername.)
03-05-2013, 07:45 AM
Find


Messages In This Thread
Click on entity for message - by User01 - 03-04-2013, 06:19 PM
RE: Click on entity for message - by darksky - 03-04-2013, 07:15 PM
RE: Click on entity for message - by User01 - 03-04-2013, 07:38 PM
RE: Click on entity for message - by User01 - 03-04-2013, 08:14 PM
RE: Click on entity for message - by User01 - 03-04-2013, 09:41 PM
RE: Click on entity for message - by darksky - 03-04-2013, 09:52 PM
RE: Click on entity for message - by User01 - 03-04-2013, 10:00 PM
RE: Click on entity for message - by darksky - 03-04-2013, 10:04 PM
RE: Click on entity for message - by User01 - 03-04-2013, 10:11 PM
RE: Click on entity for message - by darksky - 03-04-2013, 10:13 PM
RE: Click on entity for message - by darksky - 03-04-2013, 10:27 PM
RE: Click on entity for message - by OriginalUsername - 03-05-2013, 07:45 AM



Users browsing this thread: 1 Guest(s)