Greetings,
Ok so I know how to reference objects by using the:
event.other.myName == "name"
But I’m naming a ‘list’ of objects by numbers…
for i = 1, 10 do objects[i].myName = i end
now I WANT to something like this:
if event.other.myName \> 0 then
however I’m getting errors because it’s trying to compare number with string (duh)…
What’s the simplest way to achieve this?
Thanks in advance!