just create a event of the object you want and choose the misc "pick by unique ID". Then create a action and choose "Set Value". If you have no variables on this object, click right on it in the project resources and click on instance variables. Click on "plus" and name your variable. done!