ParallelGraphics Forums
SDK
You are here: [Forums]::[General]::[SDK]

Registration 
Registration
Forgot your password?

Help 
Help
Support

Quick search 

Subscribe to newsletters 

Install Cortona VRML Client for FREE!
Outline 3D
Try RobinZone!
email:  password:
   General - SDK

Subject: Script node creation
Sender: mutafchiev@gmx.de 29.10.07 12:21

Hi everybody,
I want to create a Script node from the string:

CString StringObjects::script = L"DEF SCRIPT    \                Script {\                eventIn SFBool play \                 field SFNode avatarTimer USE
AVATARTIMER
         url    [\"javascript: \
            function play(value, time){\
             avatarTimer.set_startTime = time -
1;\
            }\" ]\
        }";
with CreateNodeFromString function but it fails because of
"field SFNode avatarTimer USE AVATARTIMER".
Can somebody tell me what can I use instead "USE".

Thanks a lot!

Stoyan

 


Script node creation / mutafchiev@gmx.de / 29.10.07 12:21
     Re: Script node creation / nalex@parallelgraphics.com / 30.10.07 10:02

Messages in thread: 2


© 1998-2007 ParallelGraphics. All rights reserved. Terms of use.