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