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 / Scripting help

Author
Message
phenom ra
17
Years of Service
User Offline
Joined: 13th Mar 2008
Location:
Posted: 6th Feb 2009 06:06
I would like it if one person would explain HOW i use the codes that are being supplied on this forum, no matter how many times you guys say "Its easy" or that its so easy to read, its not, i have no idea what to do, i got this program BECAUSE i cant code.

Can somebody please help me and tell me what to do with the scripts.

Thanks in advance

Im The Thing, That Killed The Thing, That Killed The Dinosaurs
Plystire
22
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 6th Feb 2009 22:09
Copy and paste scripts into a notepad file and save it as a ".fpi" file in your Files/scriptbank directory.

Now, in FPSC, put an entity on your map, right click on it to bring up it's properties. There will be three "AI" related properties. Depending on the script you'll want to change one of those properties to be the file you saved with the script in it. More often than not, it'll be the "Main AI" that you'll be changing.

When an entity first appears, it will run it's "Appear" or "Start" AI script. After that, it runs it's "Main AI". When an entity is destroyed, it automatically runs it's "Destroy AI".


That's about it.


The one and only,


Login to post a reply

Server time is: 2025-05-23 14:12:55
Your offset time is: 2025-05-23 14:12:55