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 / can't get text script to work HELP!!!

Author
Message
Neo Dar
16
Years of Service
User Offline
Joined: 4th Mar 2008
Location: Suburbia
Posted: 4th Mar 2008 13:07
I can't get the text thing in the hints and tips guide to work I got so I got the sound going but the actual text won't work. Here's my code snippet

Attachments

Login to view attachments
Flatlander
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 4th Mar 2008 18:17 Edited at: 4th Mar 2008 18:26
Here is code that I had done that is similar.



Since you are not experienced with FPSC script you may not be able to follow this. The main difference is that the player is given a choice of two responses (thus the scancodekeypressed action. 1. The player will follow the character. 2. The player will not follow the character. If he chooses that response and goes his merry way, he will most likely come back to this character. When he does, the character responds one more time and then will start off on a waypoint so that the player can follow him (thats why the activateifused action is called so that it will start the character to follow the waypoint.

Addendum:

Another point with my code. Since I want the character to walk so that the player can follow him, I use a trigger zone at the character position to do the dialog and then I use another script for the character once he is activated.
Flatlander
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 4th Mar 2008 18:21 Edited at: 4th Mar 2008 18:23
BTW, Neo Dar,

Please use the code button to add your code rather than upload the code. Just click on the Code button, add your code, then click on the Code button again. This will create a Code snippet as you see in my post. It makes it easier for everybody.

In your code, loose the parentheses.
Neo Dar
16
Years of Service
User Offline
Joined: 4th Mar 2008
Location: Suburbia
Posted: 4th Mar 2008 23:12
thnx Flatlander
Neo Dar
16
Years of Service
User Offline
Joined: 4th Mar 2008
Location: Suburbia
Posted: 4th Mar 2008 23:19
thanks

Login to post a reply

Server time is: 2024-11-24 06:45:17
Your offset time is: 2024-11-24 06:45:17