So, the title is very confusing I believe, but I couldn’t find a better one.
What I want to do is:
I have an object, which I want to be displayed (let’s say) ten times.
All ten objects should have a different name, so I can call a collision on them.
I assume, that would be something with a for i= somethingsomething, but I can’t figure out, how I should do it.
I then want to make a function where it checks if the player collides with object1 or object2 or object3 and perform an action.
It would look something like this:
if player collides with object[i] then do this and that
No matter, what I try, It doesn’t work.
Anybody can help me?
[import]uid: 6587 topic_id: 6021 reply_id: 306021[/import]