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 / How do i add scripts?

Author
Message
Leelemon
14
Years of Service
User Offline
Joined: 27th Nov 2011
Location:
Posted: 1st Dec 2011 16:59
Hello everyone, i am new here and as the topic say's i don't know how to add scripts to my game, i have read the guides and yet i dident find how to add scripts, either there is no guide for it or i am just plain stupid and have missed that section like 3 times would love the help //yours leelemon
maho76
15
Years of Service
User Offline
Joined: 31st May 2011
Location: universe-hub, playing the flute
Posted: 1st Dec 2011 17:36 Edited at: 1st Dec 2011 17:38
place an entity (character, chair, anything). click right to open the entities options:

appearscript, mainscript, destroyscript (, shootscript).

same for triggerzones, markers, lights, everything that can be placed in the editor except room-segments.

now you have to learn where you have to place wich kind of script so its working. have fun and welcome
Leelemon
14
Years of Service
User Offline
Joined: 27th Nov 2011
Location:
Posted: 1st Dec 2011 17:52
oh ok thank you maho76 hope i get it to work
angusm3
17
Years of Service
User Offline
Joined: 6th Mar 2009
Location: Right behind you...
Posted: 11th Dec 2011 20:03
If you want scripts that apply to the whole level, (like the cod hud script) or something of the sort, you use triggerzones with the script(s) applied to them and put them out of reach of the player.

I appear to have burst into flames...
gozzy1999
15
Years of Service
User Offline
Joined: 11th Jun 2011
Location: in the closet
Posted: 11th Dec 2011 21:09
or if you have an entity you dont want to have 'used' by the player. all you have to do is set it to dynamic and use the main script of the entity as the script you want, it acts the same as the trigger zones but


''Make sure your hands are clean before you point the finger''

Login to post a reply

Server time is: 2026-07-10 10:20:36
Your offset time is: 2026-07-10 10:20:36