Skip to main content

Report this content

We want the Dreams coMmunity to be a safe, diverse and tolerant place for everyone, no matter their age, gender, race, sexual orientation or otherwise. If you believe this content to contradict these principles, you can file a report for our coMmunity teams to investigate.

Note that misuse of the reporting tool will not be tolerated.

Item being reported:

A forum post by spyralab

How can I set a variable as an instance variable of an object that gets emittedt?

I have an object with a chip, on there a variable A and I change the variable with logic.

This object I emit x amount of times. Now I would like the variable to be an instance variable and not a global variable.
How can I go about this?

Basically what I want is different values on the objects.
Right now, when I set the variable on one object then ALL emitted objects get the same value.

A setting like the multiplayer setting would be nice but I can't seem to find it.

Oh dear! Your browser is either unsupported or there has been a problem loading the page.