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 / Basic conversation try

Author
Message
Asepl
13
Years of Service
User Offline
Joined: 2nd Oct 2011
Location: Poland
Posted: 21st Feb 2012 16:05
Hey.
Using the knowledge from my last question on this forum, I've created a simple intro-talking script.
Now, my problem is, that only the first image appear, and then it stays forever. Nothing else happens... I wonder, if I should add "hudreset" somewhere else, but I rather ask you guys.

Do you know where is the mistake?

Asepl
13
Years of Service
User Offline
Joined: 2nd Oct 2011
Location: Poland
Posted: 21st Feb 2012 22:02
I cleared it a bit ( I guess ), and now it looks like that:



Still not working though.
BlackFox
FPSC Master
16
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 21st Feb 2012 22:58 Edited at: 21st Feb 2012 23:07
First thing...

Define your huds in the first batch of lines, as I mentioned to another user before in this thread. The syntax layout is what gets people all the time.

So your huds should be defined first:



Second... is this script running via trigger (plrinzone) or are you attaching it to a dynamic entity and player is at a certain distance (plrdistwithin=x).

If you are using distance and the script is attached to a dynamic entity, then the next line would be like this:



If you are using a trigger and the script runs once player enters the zone, then it would be like this:



Third... never use "timergreater" and "timerstart". As mentioned before in other threads, if you have more than one script using those two commands, there will be a conflict. Use "etimerstart" and "etimergreater".

With that explained, here is the next part of the script:



You can also change the above to a different format. Instead of the hud coming in and fading out, you can use the "etimer" to control when it fades out, like this:



Now the last part... to unfreeze the player:

(Using plrdistwithin in the beginning)



(Using plrwithinzone in the beginning)




Twitter: @NFoxMedia
Asepl
13
Years of Service
User Offline
Joined: 2nd Oct 2011
Location: Poland
Posted: 21st Feb 2012 23:17 Edited at: 21st Feb 2012 23:46
Gasp. Thanks for the help, now the script looks like that:



However... This still won't work for me


Edit:

Everything's fine now! It was my fail with windows 7 and administrator rights. The "save" isn't updating... Thank you for the help
BlackFox
FPSC Master
16
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 21st Feb 2012 23:48 Edited at: 22nd Feb 2012 01:40
What is the script attached to? In other words, is it in the Main script for a dynamic entity or a trigger zone?

If it is attached to a trigger zone, you need to specify the "plrwithinzone=1" in the "state=1" line. If it is attached to a dynamic entity, then you need to specify some sort of distance check such as "plrdistwithin=50" in the "state=1" line. This way the script knows when to proceed to the rest of the states and do what is needed to be done.

[EDIT] I was responding to your post of it still not working and your post is not visible. You must have edited it and still on post moderation.

[EDIT #2] Glad you got it working and happy to be of help.


Twitter: @NFoxMedia

Login to post a reply

Server time is: 2024-11-24 01:18:45
Your offset time is: 2024-11-24 01:18:45