Setuserdef
setuserdef[<sprite id>].<functionname> <gamevar>
Use setuserdef to set the value of the gamevar <gamevar> to the value of <functionname> within the actor determined by the gamevar <sprite id> and set the value of it to the gamevar . See Members of Userdef Structure.