Download

Multiplayer : Set Player Var from other actor?

Hello,

Quick question:

How do I set something like health ( replicated ) from a other actor. Im not allowed to use cast to player with ( get player character ).
So how do I do that the player who used an item gets the health?

Cheers :slight_smile:

How are you interacting with the Health item?

With the Use Function of the Item. The user function got the player controller and the index of the item in the array.:
6deedc8a49a8a708bb3ea6885addf107fd26fe1d.jpeg

The User Parameter is a Player Controller Reference correct? If so, can you try to do a Get Controlled Pawn from it?

Ahhh yeah … maybe this works thanks ill do my best :slight_smile: