[href]null[/href]Hi Barty, and welcome
Your on the right track. The community guide has a wealth of useful info to help you.
I assume your using vanilla fpsc V1.20 ? To help you better understand what these commands do/mean grab the complete Syntax list here... https://forum.thegamecreators.com/thread/180924
It is located at the top on this forum. To display a simple image/hud make sure your file path is correct in the script and centered on screen ( x & y =50 )
Note: use only .dds .tga .png for now until you become familiar
:state=0:hudreset,hudx=50,hudy=50,hudimage=gamecore\huds\weapon wheel\exit.dds,hudname=exit,hudhide=1,hudmake=display
hudx & hudy both set at %50 is a percentage of screen width & height. hudimage= is the file path for image
hudname= is a name for the hud hudhide=1 hides the hud until needed hudmake= will it be an image to display or a button to click ?
The Syntax list explains further
To display a simple image when player enters a triggerzone follow the guide on page #75, player steps into zone show image.
:state=1,plrwithinzone=1:hudshow=myownhud,state=2
:state=2,plrwithinzone=0:hudunshow=myownhud,state=1
Here when the player steps into zone, condition is met, then show image.
Then move to next state where it waits until player steps OUT of the zone and image is not displayed anymore and moves back to state=1 to cycle again.
The whole working script would look like this...
:state=0:hudreset,hudx=50,hudy=50,hudimage=gamecore\huds\my folder\exit.dds,hudname=exit,hudhide=1,hudmake=display
:state=0:state=1
:state=1,plrwithinzone=1:hudshow=exit,state=2
:state=2,plrwithinzone=0:hudunshow=exit,state=1
Displaying simple text is a little more in depth but the same approach. Any problems just ask
** WHERE'S MY eXplosys ? **