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 / Can you call other fpi scripts from within a script?

Author
Message
New Comers Corner
18
Years of Service
User Offline
Joined: 24th Mar 2006
Location: Dallas Ft.Worth USA
Posted: 28th Apr 2006 19:00
Ecuse me for being such a newbie, but (and maybe this should be obvious) can you call other scripts from withing a script? Something like, writing a script for a trigger:



:state=1:my.fpi,my_other.fpi (second line)

Altho I'm sure its not worded like that. There are times when it would be convenient to have a trigger call several other scripts to do things,including modifications of existing decal and sound scripts. I humbly request your input.

Student Programmer
BULLSHOCK 2
Retired Moderator
18
Years of Service
User Offline
Joined: 14th Jun 2005
Location: Shocking Bulls
Posted: 28th Apr 2006 21:45
RUNFPI=X
run another FPI script by name X(ie appear1.fpi)

New Comers Corner
18
Years of Service
User Offline
Joined: 24th Mar 2006
Location: Dallas Ft.Worth USA
Posted: 29th Apr 2006 18:27
I'll study some of the fpi codes and study the run command you explained. Thank you! This can be very useful.

Student Programmer

Login to post a reply

Server time is: 2024-04-25 21:44:52
Your offset time is: 2024-04-25 21:44:52