A game (or multimedia application) programmer and composer determine variable semantics, and the game programmer can set variables that are read by scripts. [0173] The SetVariableObject and GetVariableObject methods are utilized to share object variables which are references to an object such as a segment or another script.