Re: Bgt help topic reincarnation.
Re: Bgt help topic reincarnation. thanks maron for the help. ThanksIshan URL: http://forum.audiogames.net/viewtopic.php?pid=272662#p272662 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Bgt help topic reincarnation.
Re: Bgt help topic reincarnation. thanks maron for the help. ThanksIshan URL: http://forum.audiogames.net/viewtopic.php?pid=272661#p272661 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Bgt help topic reincarnation.
Re: Bgt help topic reincarnation. that's more valid than his code, that would actually execute I believe. URL: http://forum.audiogames.net/viewtopic.php?pid=272374#p272374 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Bgt help topic reincarnation.
Re: Bgt help topic reincarnation. I'm not the best coder by anymeans, so, someone willing to provide an actual answer may think I suck and show me a million different ways to do it, but, you could, in theory do this.string text;void main(){text = magic_wand();alert("Sarrah has the " + text + ".");}string magic_wand(){string magic = "magic";string wand = "wand";return (magic + " " + wand);}Alternatively, to make it more fun,void main(){string item = magic_wand("Giant", "Banana");alert("Sarah has the " + item + ".");}string magic_wand(string a = "magic", b = "wand"){return (a + " " + b + "");}I haven't tested this, and I may be way wrong due to my inexperience, but hey. I tried . URL: http://forum.audiogames.net/viewtopic.php?pid=271995#p271995 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Bgt help topic reincarnation.
Re: Bgt help topic reincarnation. OK thanks Ishan URL: http://forum.audiogames.net/viewtopic.php?pid=271604#p271604 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Bgt help topic reincarnation.
Re: Bgt help topic reincarnation. your declarations and usage are wrong!look at the manual URL: http://forum.audiogames.net/viewtopic.php?pid=271580#p271580 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Bgt help topic reincarnation.
Re: Bgt help topic reincarnation. Hi but I don't want to do that. I want to return these strings together. ThanksIshan URL: http://forum.audiogames.net/viewtopic.php?pid=271457#p271457 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: Bgt help topic reincarnation.
Re: Bgt help topic reincarnation. hi,your code is all wrongstring_magic or string_want are 2 different functions that return stringsyou need to declare eatch of them separatelyand return string in eatch of them URL: http://forum.audiogames.net/viewtopic.php?pid=271438#p271438 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Bgt help topic reincarnation.
Bgt help topic reincarnation. Hi members, friends and expertees I want to know that how can I return a string in BGT? I am grasping the fundamentals of this engine here I write a stupid code it is really stupid and I think you can have a good laugh but I want to know how to amend this code the code goes here. void main()string x=string_magic(); string y=string_wand(); { alert("the strings are as follows","+x+"" and ""+y+""); }string string=magic wand() { return "sera got the magic wand"); }ThanksIshan URL: http://forum.audiogames.net/viewtopic.php?pid=271408#p271408 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector