%affectSetOwner()

Aliases%affectSetOwner( )
Parametersobject @affect, entity @owner

    Sets the @owner of the given @affect object. If the owner is successfully
set the 1 is returned; otherwise 0 is returned.

Example:
--------------------------------------------------------------------------

%setOwner( @affect, @caster )