Game Maker
Register
Advertisement

Keep in mind that this is now obsolete and won't work in newer versions of GMS.

action_create_object_random(obj1,obj2,obj3,obj4,x,y) executes the action Create instance of random object. It is virtually the same as the function instance_create used with a script to choose a random object.

action_create_object_random(obj_this,obj_that,obj_there,45,80);

See Also[]

Advertisement