Actor group ownership helpers

Unlike the authority callbacks, which indicate when authority is gained or lost, when you write gameplay code for a feature using offloading, you might need to query whether an actor or a class is part of an actor group. Now you can use the GDK to achieve it through the USpatialStatics class.

The Actor group functions below are deprecated.

The following table lists the APIs available through the USpatialStatics class. You can call these functions both in C++ and from Blueprint classes:

IsActorGroupOwnerForClass

Returns true if the current worker type owns the Actor group the given Actor Class belongs to. Equivalent to World->GetNetMode() != NM_Client when Spatial Networking is disabled.

IsActorGroupOwnerForActor

Returns true if the current worker type owns the Actor group that the Actor belongs to. Equivalent to World->GetNetMode() != NM_Client when Spatial Networking is disabled.


2020-06-22 Updated content for new offloading implementation
2019-07-30 Page added as limited editorial review

Updated about a year ago


Actor group ownership helpers


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.