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 / Illuminate Pills Help [Script Help]

Author
Message
Mat Warner
11
Years of Service
User Offline
Joined: 7th Aug 2013
Location: Behind You :3
Posted: 25th Aug 2013 10:17 Edited at: 26th Aug 2013 00:10
Hello I am currently forcefully at a point where it is a must for me to learn how to code..

Objective of Code;
Pills Enhance your eyesight to brighten dark areas for a set time.
(Increase Ambience to allow player to see in dark.)

Code;


Edit:
FPSC Version 1.20(Latest)
Not quite sure what the problem is but the player doesnt take the pills, so i havent found out weither or not the abience works ether..

Any Help?
Thank you for your Time.
-Mat

http://www.indiedb.com/games/ominous-thoughts-of-darkness
Corno_1
14
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 25th Aug 2013 21:06 Edited at: 25th Aug 2013 21:06
Have you a problem with your script or should we try out?
If you have a problem, please post:

Fpsc Version: (example: 1.2)
Problem describtion:

Thanks

Make this forum to something a little bit better and release more stuff. So we can push the Request/NoobHelp threads aside.
Mat Warner
11
Years of Service
User Offline
Joined: 7th Aug 2013
Location: Behind You :3
Posted: 26th Aug 2013 00:11
@Corno_1,

FPSC Version 1.20(Latest)
Not quite sure what the problem is but the player doesnt take the pills, so i havent found out weither or not the abience works ether..

Thank you for your Time.
-Mat

http://www.indiedb.com/games/ominous-thoughts-of-darkness
ncmako
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 26th Aug 2013 00:40
Mat Warner
Try dropping the "cantake" and add "coloff" as in..
":state=0,plrdistwithin=80:state=1,playertake,coloff"
best
Mat Warner
11
Years of Service
User Offline
Joined: 7th Aug 2013
Location: Behind You :3
Posted: 26th Aug 2013 04:09
@ncmako,

This worked Wonders!
(For Picking it up so thank you.)

Once picked up the player's ambience is increased and it brights, but i feel the timer ether never starts or never ends..
Any help would be great!

Also is "10000= 10 Seconds"?

Thanks for the Help so far it is appreciated!
-Mat

http://www.indiedb.com/games/ominous-thoughts-of-darkness
ncmako
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 26th Aug 2013 05:12
@ Mat Warner
Yes, the "etimer" is in milliseconds.(1000=1 second)
best

Login to post a reply

Server time is: 2024-11-23 10:59:10
Your offset time is: 2024-11-23 10:59:10