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.

FPSC Classic Scripts / show text script help

Author
Message
proart
15
Years of Service
User Offline
Joined: 13th Feb 2009
Location: Hungary
Posted: 8th Aug 2010 10:42
Hi I create a script wich show a text.But it's disappear very fast.How to do to disappear the text after 10 seconds?

;Artificial Intelligence Script

;Header

desc = Text

;Triggers

:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\thor\level1\1.tga,hudname=mis,hudhide=1,hudmake=display,state=10
:state=10,plrdistwithin=60:hudshow=mis,hudfadeout=mis,timegreater=4000,state=1
:state=1,coloff

;End of Script
BeauPratten
14
Years of Service
User Offline
Joined: 16th Feb 2010
Location: Newy, Australia
Posted: 8th Aug 2010 11:21 Edited at: 8th Aug 2010 11:22
This should be in the scripts section.

I don't know how to code all that well but try changing


That comes out as 4 seconds. change it to


But as i said, I don't know how to script...

I will admit that I'm not always right, but I'll never admit that I'm wrong.
ctm
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location:
Posted: 8th Aug 2010 11:24
There is no timerstart in your script plus hudshow and hudfadeout are in the same line (state).

The timer works this way:
BeauPratten
14
Years of Service
User Offline
Joined: 16th Feb 2010
Location: Newy, Australia
Posted: 8th Aug 2010 11:34
Eh, I was close...

I will admit that I'm not always right, but I'll never admit that I'm wrong.
proart
15
Years of Service
User Offline
Joined: 13th Feb 2009
Location: Hungary
Posted: 8th Aug 2010 12:24
its nothing changed......its fast

Login to post a reply

Server time is: 2024-11-24 21:32:53
Your offset time is: 2024-11-24 21:32:53