<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE X3D PUBLIC "http://www.web3d.org/specifications/x3d-3.0.dtd" "file:///www.web3d.org/TaskGroups/x3d/translation/x3d-3.0.dtd"><X3D profile='Immersive' noNamespaceSchemaLocation='http://www.web3d.org/specifications/x3d-3.0.xsd'>
<![CDATA[
javascript:
function initialize (timestamp)
{
}
function makeMaster (value, timestamp)
{
if (value == true)
{
// set state and send eventOut values
isMaster = true;
isLocal = false;
isGhost = false;
// other stuff goes here
}
}
]]>
<!-- Tag color codes: <Node DEF='NodeName' attribute='value'/> <Prototype name='ProtoName'> <field name='fieldName'/> </Prototype> -->