PDA

View Full Version : About save key in script editor!!


light3d
08-23-2002, 05:40 AM
hei, every one!
I want to my select object save transfrom key at every frame
(for example 1--500 frame),Save key one by one,It's to trouble!!!!
How can I do that once, in script editor?
Help me !thanhs!!!!!







:buttrock:

Atyss
08-23-2002, 02:19 PM
Use the Plot functions.



Salutations - Cheers
Bernard Lebel

light3d
08-23-2002, 03:41 PM
thanks!
but at first ,the object have not one keyframe,and I must give it a key at every frame at first!
Can anyone help me?
:buttrock:

light3d
08-23-2002, 04:26 PM
In 1--500 frame ,I do this :
--------

NextFrame
SaveKey "sphere.kine.local.posx,__kine.local.posz", n

-----------
but I must hit "run" 500 times! :(
How can I do that and hit "run" once?


:buttrock: :buttrock: :buttrock:

EdHarriss
08-24-2002, 02:55 PM
Use a For/Next loop.

light3d
08-24-2002, 04:58 PM
If you write detailed?
I do't know what to do !


:applause:
:applause:
:applause:

EdHarriss
08-24-2002, 05:30 PM
For n = 1 to 500
SaveKey "sphere.kine.local.posx,__kine.local.posz", n
Next

(something like this)

light3d
08-24-2002, 06:04 PM
It's right!!
thank you very much!!!!111



:bounce:


:bounce:


:bounce:


:bounce:

CGTalk Moderation
01-13-2006, 03:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.