Now that I finally understand all the drag and drop actions, I started to learn the actual scripting thing. I got on pretty well, it is not so hard but there is one thing I do not understand: Return values, there was no example that I could find with the search term return or value or so. I do not get the gamemaker help because I am dutch and do not speak Englisch perfectly. ( I'd like it if you helped me with my spelling, in case I made any mistakes in my blog.) And allmighty google didn't know the answer to. So, could anybody please explain me, in clear language understandable for newbs like me, explain me how to use return values and show me a little example.
I also have another problem, and that is sound effects. I succeeded in adding all kinds of sound effects in script. But making my onw sound effects didn't seem to work. Is it just not working or am I doing something wrong???. Furthermore I wanted to say that the whole thing about GamePwner is just bullcrap. Stop it OK. I know Shadow Yoshi can be an ass, no offence, and the same counts for GP. Just stop the whole thing and don't talk about it anymore coz the whole freakin' thing is starting to get on my nerves. And people should stop Spamming the forums as well. How about getting a forum mod. Serprex or something, I guess he'd want to.That was all for today. TCHRacoon
Return values are used for scripts that calculate something for example
poo=script();If the script says:return 2*3;Then poo will equal 6.And than you continue with, if poo=6 {
the action}Am I right???Thanks ghg!Make your font color darker. It hurts my eyes.
AAAAAAAAAAAAAAAAAAAAAAAAAHHHHHHHHHHHHH
EVRY TIME I POST A BLOG MY FONT AINT GOOD HAVEN"T YOU GOT NOTHING ELSE TO DO???srry
I agree. Please just stop it all.
I wanted none of this.Anger problems?
Anyway, put this as the color:3366CCIve never used return.Ok fine Handrawn man I liked the other one better.
But if it burns your eyes I'll change it.You use return when making scripts. Return is just how you get a value out of those scripts.
//multiply(x1,x2)
//Multiplies x1 and x2return argument0*argument1Understand?