Okay, here it is.
Leave the main Name alone. It handles the target change event and all the if statements.
In GroupMember1.MemberInfoPage is a Button object named Trigger. Change Trigger's OnActivate event to what you want to happen when the groupmember is targetted, and OnDeActivate to what you want to happen when not targetted. Right now it's a font change with a bigger font if the member is targetted.
Once you've got that how you want it, just copy the Trigger object into each MemberInfoPage.
If it works in UIBuilder (test by selecting the main Name object, changing the name to/from GroupMember, and clicking the visiblity toggle) but not in-game, some re-working might help.
If you need help on how to do what you want with the scripts, just ask.
__________________
If it ain't broke, it needs more features!
|