I remember seeing in a few snippets that there was a way to get the object number that your "interacting" with.
Basically, I need to find out if the Object's Number is between 100-200 (Within this number range will be my ramps) when a collision occurs. It'd be much faster than checking for a collision for each object using up unneeded lines. Could someone explain how I could achieve this?
I dont think you'll need my code for it it's pretty basic, the old if object collision blah blah blah, I was thinking something along the lines of.
if collide#=1 and ObjID >0 and <11 then blah blah blah
And collide# would be set to 1 when a collision occurs earlier on.
I think the only other way to do this is by using an array, atleast from what I know about them. But I've never attempted to use one before so I'd rather see if this could work instead.
Thanks in advance.