I see various tutorials for functions but they seem a bit beyond my reach for understanding how to add my own parameters to a function.
For example, I'd like to be able to create a text object and set its text to whatever I want by using a function like this:
Function SetText("Hello World",0,5)
So "Hello World" is Parameter(0), x-coord is Parameter(1), and y-coord is Parameter(2). But when I've created functions for use in my game I don't know how to go about doing the parameter parts. My functions just end up being "do this, now do that" routines instead of "do [this], now do [that]" which is what I'd like to do instead.
I hope this makes sense.