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
darksky Offline
Member

Posts: 52
Threads: 8
Joined: Nov 2012
Reputation: 2
#2
RE: Click on entity for message

make a scriptbox with an interact callback

int i = 0;

and in the callback

if (i==0) display first message
else display second message
i++;

edit:

better solution

bool first = true;

in callback
{
if (first) display firstmessage; addtimer with second message
else display second message;
}

and in the timer callback

display second message;
first = false;
(This post was last modified: 03-04-2013, 07:17 PM by darksky.)
03-04-2013, 07:15 PM
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



Users browsing this thread: 1 Guest(s)