UGameplayTask_SpawnActor::SpawnActor

Spawn new Actor on the network authority (server)

Windows
MacOS
Linux

References

Module

GameplayTasks

Header

/Engine/Source/Runtime/GameplayTasks/Classes/Tasks/GameplayTask_SpawnActor.h

Include

#include "Tasks/GameplayTask_SpawnActor.h"

Source

/Engine/Source/Runtime/GameplayTasks/Private/Tasks/GameplayTask_SpawnActor.cpp

Syntax

static UGameplayTask_SpawnActor * SpawnActor
(
    TScriptInterface< IGameplayTaskOwnerInterface > TaskOwner,
    FVector SpawnLocation,
    FRotator SpawnRotation,
    TSubclassOf< AActor > Class,
    bool bSpawnOnlyOnAuthority
)

Remarks

Spawn new Actor on the network authority (server)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss