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 / blackscreen with timer

Author
Message
abdullh
12
Years of Service
User Offline
Joined: 30th Aug 2012
Location:
Posted: 22nd Apr 2013 23:32 Edited at: 22nd Apr 2013 23:34
hi
i was try to make script i was work this maybe 4 hours and i don't know why doesn't work

here example:
when he enter the room as i said before in my thread it will be cutscene ...

i need to make script like while in cut scene it will show black screen image with time , until 10 or 5 seconds the black screen will be hide

here my two script.... i know there is something wrong

1- cutscene: this is correct and i don't need to fix this



2- black screen in middle cutscene it will show black screen 10 or 5 seconds after that the black screen will hide or destroy



so please please need to fix this
BlackFox
FPSC Master
16
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 22nd Apr 2013 23:49
You had a few syntax errors in your second script (commas instead of colons). The following should be how to setup and display the black screen for 10 seconds when the player is in the zone:



Always define your huds first in the "state=0" lines. It keeps the script neat, organized, and easier to troubleshoot. Second, you need to remember conditions are on the "left" side of a colon; actions are on the "right" side.

If your "black screen" is being used to make the entire view black, then you should consider setting the "hudx=50" and "hudy=50". This puts the image dead center.


There's no problem that can't be solved without applying a little scripting.

Login to post a reply

Server time is: 2024-11-23 14:22:30
Your offset time is: 2024-11-23 14:22:30