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 / Several scripts associated with one single entity or character

Author
Message
DarthBasicVader
18
Years of Service
User Offline
Joined: 28th Nov 2005
Location: Cyberspace
Posted: 9th Oct 2008 12:52 Edited at: 9th Oct 2008 12:58
My english sucks ....

Is there a turnaround to link more than one script to an entity, or a character or whatsoever ? (i hope this is more clear/correct)..

Is there a turnaround to associated more than one script to an entity ?

Riccardo
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 10th Oct 2008 00:38
Hmmm, what is it you are trying to achieve that requires more than one script? Many things can be done with a single script.


The one and only,


Those who live in the past, are destined to insanity. Those who live only for the future, will be slaves to their ambitions.
Those who live in the moment... only they, are truly happy.
DarthBasicVader
18
Years of Service
User Offline
Joined: 28th Nov 2005
Location: Cyberspace
Posted: 10th Oct 2008 10:31
Well just a way to better organize my scripts. If a single script can achieve a single action (then more scripts for more actions) you could organize a framework of scripts ... well at least you could try. It's a no ?
I know you can always link (by entity editor) at least 3 scripts for one entity ... but is there any way to link more ?
Tx Plystire !

Riccardo
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 11th Oct 2008 02:15
Well... I usually have all the actions needed by the entity put into a single script and seperated by states or activation values, but yes... you can have the entity execute a seperate FPI script by using "runfpi=X" where X is the name of the script you want to execute in the scriptbank folder. If the script isn't in the scriptbank folder directly.... like say it's in "scriptbank\myscripts" you'll have to give "runfpi=myscripts\this.fpi"


The one and only,


Those who live in the past, are destined to insanity. Those who live only for the future, will be slaves to their ambitions.
Those who live in the moment... only they, are truly happy.
DarthBasicVader
18
Years of Service
User Offline
Joined: 28th Nov 2005
Location: Cyberspace
Posted: 11th Oct 2008 13:32
Tx Plystire, i'll give it a try

Riccardo

Login to post a reply

Server time is: 2024-11-24 13:55:04
Your offset time is: 2024-11-24 13:55:04