Hello Tobey,
Thanks for such a quick answer :). I was thinking more on being able to use the create object event with a function parameter. Something like this:
Let's say we have 2 families of sprite objects. FlyDragons and GroundDragons, and we want to use a function to create every 3 seconds an enemy of any of those families in the screen.
Every 3 seconds: call function "newEnemy"(family, screen.X, screen.Y)
:)Perhaps (just come to my mind) the approach is using a random variable value for the first parameter and in the body of the function create the object depending on that value.