setactorvar[<sprite id>].<gamevar1> <gamevar2>
Sets the value of the actor-in-question's <gamevar1> to the gamevar, <gamevar2>. See setactor.