You have to put the line my.material = mt_vegetation (or something like that) in the action, so if they all have their own action, then yes, you have to put that in there everytime as far as I know.