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 / Clone globalvars?

Author
Message
Omegamer
15
Years of Service
User Offline
Joined: 25th Feb 2009
Location: There
Posted: 23rd Oct 2012 14:03
I currently have no idea how to do this, maybe its not even possible what'd ruin my WIP game

I need help finding a way to clone global vars made using the dimvar=x command.

Thanks for your time
Corno_1
14
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 23rd Oct 2012 16:05
ok what do you want! to clone a var to do what? to use it in another script?

if this is what you want use this:

so you can use the commands so:


if you need more help, just ask

Corno

Omegamer
15
Years of Service
User Offline
Joined: 25th Feb 2009
Location: There
Posted: 23rd Oct 2012 16:09
hmmm sorry I can't really explain it

But I just saw you're german too, would you mind if I send you a mail later?

I usually know all the FPSC scripting stuff, but this one is driving me crazy
Mr illusionest
15
Years of Service
User Offline
Joined: 5th Mar 2009
Location: Cairo , Egypt
Posted: 23rd Oct 2012 16:34
What do you mean be cloning ?
If you mean that you want another variable to have the same value , you can use this
setvar=var2 %var1

"I am the night visitor when everyone is sleep , and when the last light fades"
The illusionest
Omegamer
15
Years of Service
User Offline
Joined: 25th Feb 2009
Location: There
Posted: 23rd Oct 2012 18:17
Quote: "If you mean that you want another variable to have the same value , you can use this
setvar=var2 %var1"


Thats what I was searching for thank you
Corno_1
14
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 23rd Oct 2012 20:08
Quote: "But I just saw you're german too, would you mind if I send you a mail later?"

of course if you have problems or scripting questions, just ask
Quote: "If you mean that you want another variable to have the same value"

maybe you should explain it so!

Login to post a reply

Server time is: 2024-11-23 19:39:25
Your offset time is: 2024-11-23 19:39:25