SetObject

Object manipulation function.

Postal III Ultrapatch+Angel v1.3.0+ Feature

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

TODO

This function is a mess, should be rewritten.

Syntax

SetObject self:target,target:[target/caller/attacker/item] -- Sets the entity's target to the current target's [obj]

SetObject self:target,target:mem,[memslot] -- Sets the entity's target to the current target's [memslot]

Example


// This makes the entity follow an entity from the target's memory slot
xpt_followthrower
{
    actions
    {
        SetObject self:target,target:mem,DOGTOY_THROWER
        Follow true
    }
}