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 / Displaying text with a trigger?

Author
Message
Blazed666
17
Years of Service
User Offline
Joined: 21st Sep 2007
Location:
Posted: 11th Jun 2009 05:59 Edited at: 11th Jun 2009 06:38
When I walk onto a trigger I want text to display on the screen. Can someone tell me the script for this?
GraPix
User Banned
Posted: 11th Jun 2009 13:08
search search search

Your signature has been erased by a mod - please make it no larger than 600x120, thanks
Blazed666
17
Years of Service
User Offline
Joined: 21st Sep 2007
Location:
Posted: 11th Jun 2009 20:22
I want a script.
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 11th Jun 2009 21:06 Edited at: 11th Jun 2009 21:13
Quote: "When I walk onto a trigger I want text to display on the screen. Can someone tell me the script for this? "

Displaying text or images on the screen is called a Heads Up Display, or HUD for short.

If you search HUD or HUDS, then you should find what you are looking for.

In fact these things are covered in the PDF Manual that was included with FPSC found in your DOCS folder.
There are many example scripts around for these basic things, just search using the 'Thread Subject Search' Box below.


I found this
on page 73 of Nickydude's "Official Community Guide to FPSCreator"

Blazed666
17
Years of Service
User Offline
Joined: 21st Sep 2007
Location:
Posted: 11th Jun 2009 23:18
Thanks for the code conjured entertainment but that's not what I really wanted. I want to display a text message not an image. Something like this code:



But the thing is is that you have to click TAB, I don't want that. I want a text message to appear right when I step on the trigger zone. Can anyone give me that script??
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 12th Jun 2009 04:22 Edited at: 12th Jun 2009 04:35
Try this


Blazed666
17
Years of Service
User Offline
Joined: 21st Sep 2007
Location:
Posted: 12th Jun 2009 04:48
Thanks! that's what I need! BUT, how can I get rid of the weird picture in the top left corner of the screen? and when I step on the trigger it shows the message, but the letters are so close together and so small you cant read it. I have a screen shot here so you know what I mean:

Attachments

Login to view attachments
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 12th Jun 2009 05:00 Edited at: 12th Jun 2009 05:03
That image is weird, I dunno about that.
Make sure your message has no special characters like commas, quotes, etc.

Use the script above, because I realized about the small text when I tested so I added a new font size.

Double check for typos, and if that image pops up again, then post your script.

Blazed666
17
Years of Service
User Offline
Joined: 21st Sep 2007
Location:
Posted: 12th Jun 2009 05:10
THANK YOU!!! I can finally finish my game now! =D

Login to post a reply

Server time is: 2024-11-25 03:06:13
Your offset time is: 2024-11-25 03:06:13