I will try to explain this best i can.
Credit goes to BlackFox, as he showed me the script...
Notice: From glancing at the steps below, this might look like a lot of work, but that's just because i'm being very detailed.
1. Create a hud (image) to appear when you step into the zone, and save it
(without spaces in the name) into your huds folder, which is in your gamecore folder.
(If you need more help on this, just tell me.)
2. Copy and paste this script into notepad:
;Artificial Intelligence Script
;Header
desc = Show hud only once
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\huds\X.file,hudname=X,hudhide=1,hudmake=display,state=1
:state=1,plrwithinzone=1:sound=$0,hudshow=X,state=2
:state=2,plrwithinzone=0:hudfadeout=X,destroy
;End of Script
3. Replace the "X.file", with your
exact image name, followed by the file type. (Example: textimage.jpg)
4.
After that, wherever you see an "X", type
just the image name. (
Without the file type) Now save the notepad file as a ".fpi" in your scriptbank folder.
5. Go into your FPS Creator project, and place a trigger zone for where you want the text to appear when the player steps there.
6.
Right click on the trigger zone to go into its properties. Next to the "Main", property, it will say "plrinzone.fpi". Click all the way to the right of that rectangular box.
7. Locate the fpi (notepad) file you saved, and double click it. And just in case you don't want the little "trigger sound" to play when you step into the zone - At the bottom left where it says "Sound0", erase what it says in the box to the right of it. (That's
IF you don't want the trigger sound to play when you step into the trigger zone)
8. Apply changes.
That's it! Now when the player steps into that trigger zone, the text will appear on-screen.
(Note: If you want to change the area of the screen the hud appears in, then adjust the "hudx=" and "hudy=" values to your liking.)
Remember, if you get stuck or have a question about something, just tell me.
Cheers, Jake
------------------------------------------------------------
-The Clarkson Residence- (WIP)