Snatching Functions

Snatch

Snatches onto an NPC

    Note

  • Can only be used by Animals
  • Must have a target object

Syntax

Snatch [true/false],[attachment]


// Attachments  // Where to snatch
fucking_monkey  = head
snatch0         = left foot
snatch1         = right foot
snatch2         = left hand
snatch3         = right hand

Example


// from ai_mission_mli.p3s
pt_attack
{
    actions
    {
        Snatch true,fucking_monkey
        Wait 5:2
        Snatch false
        State st_start
    }
}


Unsnatch

Unused Postal3Script function

Unsnatches from an NPC

Note

  • Must have a target object
  • Syntax

    Unsnatch 1