Ammo

Unused Postal3Script Object

Checks an NPC's primary ammo value.

Broken Feature

Postal 3 doesn't have proper ammo handling or check for NPCs, it's a broken or underdeveloped feature. It's advised to come up with your own Ammo system in p3s.

Example


// (Possible example)
xpt_CheckAmmo
{
    actions
    {
        IfAttr "ea_ammo > 0 SetAttr HaveAmmo 1"
        IfAttr "ea_ammo <= 0 SetAttr NoAmmo 1"

        IfAttr "Ammo:self > 0 SetAttr HaveAmmo 1"
        IfAttr "Ammo:self <= 0 SetAttr NoAmmo 1"
    }
}