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 / Linking scripts

Author
Message
Dead Line the world of zombies
13
Years of Service
User Offline
Joined: 19th Jan 2011
Location:
Posted: 15th Mar 2011 21:00
Is there a way to link two or more scripts together!
I wan to link if i can have it the scripts

zombie_apocalypse\zombie1destroy.fpi + conjured\destroy100.fpi(from cash system)
Design Runner
14
Years of Service
User Offline
Joined: 16th Oct 2010
Location: In my own little world.
Posted: 16th Mar 2011 02:17
Try this: open one, copy it, then paste it into the other. Make edits. Should work well enough if you change the states.

The quick brown fox jumps over the lazy dog
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 16th Mar 2011 04:49 Edited at: 16th Mar 2011 04:51
Yeah, there are only 3 states in my script that you are talking about.
I assume the last thing in Bond's destroy script would be a destroy action,
So, add my 3 states in and change the state numbers to be higher that Bond's script.
So if his states go up to 20 then you could renumber my 3 states as 30, 31, and 32, instead of 0, 1, and 2.
Then, redmove his destroy action and replace it with state=30.
That is it.
Don't forget to change the state=x calls at the end of my state's lines, so they would end up like so...

:state=30:settargetname=cs1,state=31
:state=31:plrsound=$0,globalvar=1,incvar=100,activatetarget=13,state=[b]32[/b]
:state=32:state=33,destroy

I do not have Bond's script installed on this netbook, so I am unsure about his state numbers.
If his is more than 30 then just make mine higher than whatever his is.

Michael Thompson
16
Years of Service
User Offline
Joined: 15th Aug 2008
Location: Behind you (if not, in australia)
Posted: 18th Mar 2011 14:03
The easiest way to do it if you dont want them effecting eachother, just make a new fpi and use the runfpi command twice.

http://www.flashstargamecreations.webs.com

Login to post a reply

Server time is: 2024-11-24 10:56:38
Your offset time is: 2024-11-24 10:56:38