RegisterBeginPlayPreHook

This registers a callback that will get called before AActor::BeginPlay is called.

Parameters (except strings & bools & FOutputDevice) must be retrieved via Param:Get() and set via Param:Set().

Parameters

#TypeInformation
1functionThe callback to register

Callback Parameters

#TypeInformation
1AActorThe actor context

Example

RegisterBeginPlayPreHook(function(Actor)
    print("BeginPlayPreHook")
end)