SendObjectToTargetsMem

Sends an Object to the target's memory slot.

Postal III Ultrapatch+Angel v1.3.0+ Feature

The following function will only work in Postal III Ultrapatch+Angel v1.3.0 or higher.

Syntax

SendObjectToTargetsMem "Object:<obj>,<memslot>" -- Sends Object:<obj> to the target's <memslot> mem slot.

Example

// Example code of memory sending
xpt_SendMem
{
    actions
    {
        TargetCaller 1
        // Caller's memory slot 7 will now be this entity
        SendObjectToTargetsMem "Object:self,7"

        TargetPlayer 1
        // Player's memory slot 7 will now be this entity's caller
        SendObjectToTargetsMem "Object:caller,7"
    }
}