Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
Vukgamer
12
Years of Service
User Offline
Joined: 21st Feb 2013
Location:
Posted: 14th Mar 2013 17:26
I need to know how to make story zone disappear after being used.
Or how to make on screen text without text ease or adventure pack or custom hud.

He is always watching
Troutflies
14
Years of Service
User Offline
Joined: 24th Feb 2011
Location: Stuck outside my map.
Posted: 19th Mar 2013 01:43
Vukgamer,

Try this simple code



Place it in the main of a trigger zone. You can add as many lines as you'd like following the same format just edit this line:Fpgcrawtext= to say whatever you want.

Go to this:http://forum.thegamecreators.com/?m=forum_view&t=196813&b=23

I wrote this script to use with huds, but you can edit it to do whatever you'd like.

Hope it helps
Vukgamer
12
Years of Service
User Offline
Joined: 21st Feb 2013
Location:
Posted: 6th Apr 2013 11:11
awesome dude thank you sooooo much,can I change the color of the text too?

He is always watching
Vukgamer
12
Years of Service
User Offline
Joined: 21st Feb 2013
Location:
Posted: 6th Apr 2013 11:23
Also how to make messages last longer?

He is always watching
Troutflies
14
Years of Service
User Offline
Joined: 24th Feb 2011
Location: Stuck outside my map.
Posted: 12th Apr 2013 06:41 Edited at: 12th Apr 2013 06:46
Yes where it say fpgcrawtextr that is the red adjustment fpgcrawtextg is gree and so on.

To get the text to appear long just adjust the etimer. 100equals one second. So if you want the text to appear for 10 seconds it would look like this

:state=x,etimergreater=1000

Just remember. Each time you use the etimerstart action you start a new clock. So essentially you can have one line of text appear for ten seconds the next line of text for 3 seconds and so on. You can also use the etimer to control the time between each line of text appears.
BlackFox
FPSC Master
17
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 12th Apr 2013 07:00
Quote: "To get the text to appear long just adjust the etimer. 100equals one second. So if you want the text to appear for 10 seconds it would look like this

:state=x,etimergreater=1000"


Just a minor correction. The "etimer" is in milliseconds, so 1000 ms equals 1 second. So your ten seconds should be:

:state=x,etimergreater=10000


There's no problem that can't be solved without applying a little scripting.
Vukgamer
12
Years of Service
User Offline
Joined: 21st Feb 2013
Location:
Posted: 12th Apr 2013 16:05
Awesome thanks guys.

He is always watching
Troutflies
14
Years of Service
User Offline
Joined: 24th Feb 2011
Location: Stuck outside my map.
Posted: 12th Apr 2013 17:53
@ Black

Thanks actually I had it as a thousand at first, but I am a bit rusty haven't touched FPSc in a few months. Life seems to get in the way each time I try.

Login to post a reply

Server time is: 2025-05-17 13:58:24
Your offset time is: 2025-05-17 13:58:24