unreal.GameplayAbilityNetExecutionPolicy

class unreal.GameplayAbilityNetExecutionPolicy

Bases: EnumBase

Where does an ability execute on the network. Does a client “ask and predict”, “ask and wait”, “don’t ask (just do it)”

C++ Source:

  • Plugin: GameplayAbilities

  • Module: GameplayAbilities

  • File: GameplayAbilityTypes.h

LOCAL_ONLY: GameplayAbilityNetExecutionPolicy

This ability will only run on the client or server that has local control

Type:

1

LOCAL_PREDICTED: GameplayAbilityNetExecutionPolicy

Part of this ability runs predictively on the local client if there is one

Type:

0

SERVER_INITIATED: GameplayAbilityNetExecutionPolicy

This ability is initiated by the server, but will also run on the local client if one exists

Type:

2

SERVER_ONLY: GameplayAbilityNetExecutionPolicy

This ability will only run on the server

Type:

3