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 / Help WitH Script please

Author
Message
tripper
17
Years of Service
User Offline
Joined: 12th Oct 2007
Location:
Posted: 20th Apr 2012 01:10
hello all i would like to ask a question about huds i have bean playing around with displaying huds script and cant get what i am after i would like to display a pitcher on screen for only a second can this be done thanks for all your time

tripper1977
BlackFox
FPSC Master
16
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 20th Apr 2012 01:23
You can achieve what you are after with something like the following script. This script is attached to a triggerzone Main script.



Note the following:

* hudx=x, hudy=x is the coordinates to show the hud
* hudimagefine=path and file name to your image for the hud (example: languagebank\english\gamecore\Huds\hud1.png)

In the script, I have it show the hud when the player is in the zone. The hud shows for 5 seconds and then disappears. You can adjust the time to show the hud by altering the ":state=3,etimergreater=5000" line and replace the "5000" (5 seconds) with a time count you wish. When the player leaves the zone, the script will loop back to the start and wait until the player enters the zone again.

If you want the script to run and display the hud once only when the player enters the zone, then alter with the following:




Twitter: @NFoxMedia

Login to post a reply

Server time is: 2024-11-23 23:51:53
Your offset time is: 2024-11-23 23:51:53