I am wondering if there is a way to use an objects name as a family event somehow,like for example:
Blue: Object name is "Player"
and if so. how.
Thanks in advance.
Pretty sure theres no event that lets you retrieve the name of an object. In the layout editor you could just give the object a string variable with the initial string being its name. Then compare the variable in the event sheet to do whatever.
Develop games in your browser. Powerful, performant & highly capable.
You can do it with OID which is unique for each object type. When you get the OID of a family you get the OID of it's actual type.
+ Blue: Pick by Blue.OID Equal to Sprite.OID
-> Blue: Destroy
Ah i see. Cool, thanks !