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 / Trigger flicking light

Author
Message
Tanner 3000
16
Years of Service
User Offline
Joined: 20th Apr 2008
Location: Inside an AC130(Watch out!)
Posted: 30th Sep 2009 05:43
I am trying to make a script where you walk into a trigger zone and the light flickers the turns on. Im a huge noob at scripting.

Its by xplosys but im tweaking it



Go to lostcontact.org
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 30th Sep 2009 06:05 Edited at: 30th Sep 2009 06:07
State 0 and state 1 are looping between each other, so the other states are never being used.

I suggest you take the time to read through the scripting tutorials that can be found in the ofpscguide (found in your "FPS Creaot/Docs" folder)


The one and only,


Tanner 3000
16
Years of Service
User Offline
Joined: 20th Apr 2008
Location: Inside an AC130(Watch out!)
Posted: 30th Sep 2009 06:11
plz can you give me a tip or a line to replace but thanks the ofpscguide does help

Go to lostcontact.org
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 30th Sep 2009 06:18
I already gave you a hint.

Hint #2:

have the state 0 line ONLY turn off the light and then go into another state (perhaps state 1).

Remove the current state 1 line and make a new one that will state the timer and head to state 3 ONLY when the light has been activated.

You may also want to look into making a state 14 line if the light should be able to turn off.


That should be enough. I won't give you code, as I want you to learn how to write the script yourself.


The one and only,


Tanner 3000
16
Years of Service
User Offline
Joined: 20th Apr 2008
Location: Inside an AC130(Watch out!)
Posted: 30th Sep 2009 06:29
Just give me a code I just need it now please I will learn another time

Go to lostcontact.org
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 30th Sep 2009 07:50
As with learning anything, it's now or never. If you don't do it now because you had someone else do it for you, you will always try to get someone to do it for you.

And besides, if you learned how to script, you could make them all on your own whenever you wanted, without having to wait on someone (who most likely will ALSO have procrastination issues )


The one and only,


Tanner 3000
16
Years of Service
User Offline
Joined: 20th Apr 2008
Location: Inside an AC130(Watch out!)
Posted: 30th Sep 2009 22:13 Edited at: 30th Sep 2009 22:19
Im sorry plystire your hints really helped!!!'

It works!!

Go to lostcontactgaming.com!!

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 1st Oct 2009 02:03
Glad to hear it!


The one and only,


Tanner 3000
16
Years of Service
User Offline
Joined: 20th Apr 2008
Location: Inside an AC130(Watch out!)
Posted: 1st Oct 2009 05:02
my fpsc always crashes when i use a mod i usally do update 1.07 or 1.09 help plz

Go to lostcontactgaming.com!!

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 1st Oct 2009 07:08
Mods right now require FPSC V1.15 in order to run properly, so please make sure your FPSC is updated to that.


The one and only,


Login to post a reply

Server time is: 2024-11-25 07:31:08
Your offset time is: 2024-11-25 07:31:08