Is it possible for 2 scripts to share a single string variable? Let's say i have a string variable myName="nochi" in script 1. Is it possible for me to output myName in script 2? thank you for your help.
This forum is now archived!
- Welcome to the archive!
News:
The 3DRad community can be found at classdev.net.
- 3D Rad - Free 3D game maker - Forum >
- General Category >
- 3D Rad - Technical Discussion >
- 2 scripts and a string variable
Author Topic: 2 scripts and a string variable (Read 1326 times)
A former 3DRad Guru and a great contributor to the 3DRad Community Forum produced a plugin dll which accomplished the very thing that you're asking. Unfortunately, he (resigned?) from the Forum, taking all his contributions and posts with him.
oh.... that's too bad....anyway...incase it's not possible....is it possible for me to extract a text from a textprint object and store it in a string variable? thank you for replying btw... i really need to use a string in 2 scripts....
psikotropico
still there's AllanF's resource here:
http://www.3drad.com/forum/index.php?topic=2130.0
maybe can help you
http://www.3drad.com/forum/index.php?topic=2130.0
maybe can help you
Oh yes.......I should have given you that link......my apologies.
I think that MH improved on my attempt by enabling the transfer of any number of strings........with my dll only one string can be transferred and only once. Anyway.....try it out......see if it helps.
I think that MH improved on my attempt by enabling the transfer of any number of strings........with my dll only one string can be transferred and only once. Anyway.....try it out......see if it helps.
i think this info is enough thank you very much to: AllanF, psikoT and Fred123.
i tried downloading the dlls provided by AllanF and psikoT..but i'm examining these dlls and examples as for now..
i also considered Fred123's solution, same as what AllanF posted on psikoT's topic..by saving the string in a text file and reading it again in the other script...easy and simple...but as for now i'll try to figure out which of the 2 solutions will be less bulky for my project...anyway, thank you very much again for your help guys..
i tried downloading the dlls provided by AllanF and psikoT..but i'm examining these dlls and examples as for now..
i also considered Fred123's solution, same as what AllanF posted on psikoT's topic..by saving the string in a text file and reading it again in the other script...easy and simple...but as for now i'll try to figure out which of the 2 solutions will be less bulky for my project...anyway, thank you very much again for your help guys..
Pages: [1]