Page 1 of 1

I want to attach an identifier that can uniquely identify a specific entity.

Posted: Wed Oct 22, 2025 1:18 pm
by Xeon257
Hello. I’d like to summon a regular Spidertron at a specific location,

and trigger a certain event only when this particular Spidertron is clicked.

Is there any way to distinguish it from other Spidertrons?

Re: I want to attach an identifier that can uniquely identify a specific entity.

Posted: Wed Oct 22, 2025 1:25 pm
by Klonan
You can use the entities unit number:
https://lua-api.factorio.com/latest/cla ... nit_number