to change a variable on another pawn you need to get a reference to the other pawn. there are many ways to get a actor reference such as hit and overlap events, variables you set beforehand, and traces. once you have a reference to the actor you want to change the variable on you may need to cast to the actors class. then all you need to to do is get the variable then set it to the new value.