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;
;Header
desc = Illuminate Pills (By Mat Warner)
;Triggers
:state=0,cantake,plrdistwithin=80:state=1,playertake
:state=1:ambience=35,etimerstart,state=2
:state=2,etimergreater=10000:ambience=5
;End of Script
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