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?
I want to attach an identifier that can uniquely identify a specific entity.
I want to attach an identifier that can uniquely identify a specific entity.
I am not able to write in English myself, so I am using ChatGPT for help. Please excuse any awkward phrasing.
Re: I want to attach an identifier that can uniquely identify a specific entity.
You can use the entities unit number:
https://lua-api.factorio.com/latest/cla ... nit_number
https://lua-api.factorio.com/latest/cla ... nit_number

