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 / Multiple global variables

Author
Message
Michael Thompson
16
Years of Service
User Offline
Joined: 15th Aug 2008
Location: Behind you (if not, in australia)
Posted: 31st Oct 2010 15:19
Hey everyone, I was wondering if there is any way to have multiple global variables running at the same time?
e.g.
global variable 1
global variable 2
global variable 3
etc
Thanks

Windows 7 ultimate x64, Intel i7, 4 GB RAM, NVIDIA GEFORCE 330m 1GB
Flash Star Game Creations
Gencheff
14
Years of Service
User Offline
Joined: 12th Jun 2010
Location: UK by way of USSR
Posted: 31st Oct 2010 15:21
RPG Mod FTW!

or Project Green \ Blue.

I'm not sure about the stock engine.The PB variable system should be embedded into 1.18 beta(or will be in the next update).

Michael Thompson
16
Years of Service
User Offline
Joined: 15th Aug 2008
Location: Behind you (if not, in australia)
Posted: 1st Nov 2010 02:41
Oh, Ok, awesome (I was hoping for stock but I most likely wont release these scripts and I have RPGM)
What are the variable commands for RPG Mod?
Thanks

Windows 7 ultimate x64, Intel i7, 4 GB RAM, NVIDIA GEFORCE 330m 1GB
Flash Star Game Creations
BlackFox
FPSC Master
16
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 1st Nov 2010 04:06 Edited at: 7th Apr 2011 20:55
:: REMOVED ::

- BlackFox

The function of good software is to make the complex appear to be simple.
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 1st Nov 2010 04:34
Not sure what you mean by "running at the same time", but stock FPSC does have global vars. You can swap between them as many times as you like on just one line... it's a real hassle, but you can.


The one and only,


Only those who sow the seeds of their desires will reap their benefits later.
However, I have seeds of my own to tend to. I don't have time to be someone else's watering can.
Michael Thompson
16
Years of Service
User Offline
Joined: 15th Aug 2008
Location: Behind you (if not, in australia)
Posted: 1st Nov 2010 08:35
Thanks Blackfox.
And plystire, what I mean is so that I can have multiple groups of people, and with one, they are facing away. when you shoot one, they all react.
With the next, the same happens, however, i must use different global variables so that the groups dont act on each other, where if one reacts, so does the other, as it is somewhat a stealth game (just this level so far but I will have more) that I am making.

Thanks

Windows 7 ultimate x64, Intel i7, 4 GB RAM, NVIDIA GEFORCE 330m 1GB
Flash Star Game Creations
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 1st Nov 2010 11:31
Oh, well if that's all, then you could just as easily use the stock FPSC variables.


The one and only,


Only those who sow the seeds of their desires will reap their benefits later.
However, I have seeds of my own to tend to. I don't have time to be someone else's watering can.
Michael Thompson
16
Years of Service
User Offline
Joined: 15th Aug 2008
Location: Behind you (if not, in australia)
Posted: 1st Nov 2010 11:43
What do you mean (sorry I dont know a whole lot about variables, im new to scripting)
Could you give me an example please?
Thanks.

Windows 7 ultimate x64, Intel i7, 4 GB RAM, NVIDIA GEFORCE 330m 1GB
Flash Star Game Creations

Login to post a reply

Server time is: 2024-11-24 16:49:49
Your offset time is: 2024-11-24 16:49:49