Download

How to replicate a C++ BlueprintImplementableEvent?

Hello. I have this code in my C++:

	UFUNCTION(BlueprintImplementableEvent, BlueprintCallable)
	void Die();

And I need it to replicate on the server. However the option to do that is not possible in BP and I cannot add “Server” to UFUNCTION() as that yields a compilation error. How do I go about this?

try BlueprintAuthorityOnly
from UFunctions | Unreal Engine Documentation

Yes, that seems to do the trick. Thanks!