SetVariable on ObjectRefVariables

GL-NET (GL-NET@t-online.de)
Mon, 17 Aug 1998 20:02:13 +0200

Hello,
there is a problem with the SetVariable action when using
ObjectRefVariables.
The ObjectRefVar is in the application, the action itself
is executed in the scene.
What is the default for the group identifier, which will
be set in the ObjectRefVar ?

Is a
:SetVariable ( ( "/test/startup" 100 ) :GObjectRef 30 )

the same as a
:SetVariable ( ( "/test/startup" 100 ) :GObjectRef ( "/test/scene1.mhg"
30 ) )

or as a
:SetVariable ( ( "/test/startup" 100 ) :GObjectRef ( "/test/startup" 30
) )

???

The default for GroupIdentifiers for ingredients is ok,
but is it valid for actions ?

Unfortunately the description of the SetVariable action for
ObjectRef-Variables is very short :-(

At last there is the question if it is legal for an application
object-ref-variable to have a reference to a scene object - as
application objects never reference scene objects in any other
part of the standard.

Opinions ?

Regards,
Margret Gran

-- 
----------------------------------------------------------------------
    _/ 
   _/ 
  _/ GL-NET@t-online.de
 _/ http://home.t-online.de/home/gl-net
----------------------------------------------------------------------