E
Edwin
Guest
How to find out all values in the array as one function?
For example:
I made an array that will keep objects that can collide player.
I want to make collision with all these objects in "solidObject" array but not separately.
Please help! Is there any scripts or functions for do this or something?!
For example:
I made an array that will keep objects that can collide player.
Code:
solidObject[0] = oWall;
solidObject[1] = oBox;
Code:
if (place_meeting(x, y, ALL OBJECTS IN "solidObject" ARRAY)) {
hspeed = 0;
vspeed = 0;
}