Is there a way to create exceptions in families using events?
For example, say I I have a Family called "Soldiers" of which there are 20 different types of soldiers.
>"Bullet" On Collision with Family Soldiers=>Subtract 1 from Soldiers "HP"
Say I want to make one soldier invincible using events. How can I exclude this one type of soldier, say SoldierEngineer02, from this action?
By using pv's for example. Use the family manager to setup a pv like "shield". Pick the members you want to make invincible (for example when creating the sprites) and set their "shield" to 1.
"Bullet" On Collision with Family Soldiers
Family Soldiers: Value 'shield' not equal to 1 =>Subtract 1 from Soldiers "HP"