newt what if I addressed my original object through its family and the other object is only specified on family level too?
E.g. Imagine you have different tank setups made up of a base family and a turret family.
One tank (container) might contain base X and turret Y from those families.
All are controlled through family events.
Say my tank base family goes into Idle state, I need to tell the according turret to stop shooting. How do I address the actual turret object?
My event might say:
Family_TankBase | on LOS broken: Family_TankBase -> set state "idle"
+ Family_TankTurret -> turret disabled
But it seems that Family_TankTurret does not know what turret to talk to.
Any suggestions?
Couldn't you just set a variable on the turret to the uid of the tankbase on created?
Than you could compare family.uid to turret.variable, right?