Deprecated Pattern Functions

Warning

It's not recommended to use these functions. They are only here for documenting purposes.

Use functions from THIS page instead.


StoreActivityPattern

Unused Postal3Script function

Stores an Activity Pattern

Syntax

StoreActivityPattern [string] -- Stores a pattern from current state

Example


st_mycustomstate
{
    group Neutral
    patterns
    {
        pt_default
        {
            actions
            {
                // This will store pt_ketchup from the current state
                StoreActivityPattern pt_ketchup
            }
        }

        pt_ketchup
        {
            actions
            {
                ChangeAttr "Ketchup +1"
            }
        }
    }
}


ExecuteActivityPattern

Unused Postal3Script function

Executes Activity Pattern

Syntax

ExecuteActivityPattern true -- Executes currently stored pattern


ClearActivityPattern

Unused Postal3Script function

Clears Activity Pattern

Syntax

ClearActivityPattern true -- Clears currently stored pattern