Skip to content

Effect.GetOwnerPlayer

Source Code | Usage Examples | Effect Functions

Returns the controller of the owner of the effect (Effect e). If the effect is registered to a player, it returns the player it's registered to instead. If the owner was changed by Effect.SetOwnerPlayer, then it will return the value set by that function.

Signature

Effect.GetOwnerPlayer(Effect e) → int

lua
e:GetOwnerPlayer()

Parameters

Returns


under-construction