Your Behaviour Function (BHAV) may have arguments / parameters passed into it. If you use a parameter variable in a BHAV you must remember to set how many. See Declaring your stack variables for details on how to do this.
This page is located on the SimsWiki. To view it in it's original form, click here.