Animation Event Bool Function?

Hi, I’m trying to set up a simple script to work with animation events. I just want to be able to set a bool to true or false. What type of function could I use to accomplish this? Here’s my basic script, but it doesn’t appear in my animation events:

var footstep : boolean = false;

function Start () {
     footstep = true;


Animation event parameters can only be a float, an int, a string, an object reference

There is no bool parameter, but you can pass an “int” as a flag (0= True, 1=False)