Announcement

Collapse
No announcement yet.

How to create action KeyFrame with script?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • peterlu
    started a topic How to create action KeyFrame with script?

    How to create action KeyFrame with script?

    Hello...All

    Can anyone help me?
    I am trying to use script to create action KeyFrames?
    and
    set KeyFrame name & KeyFrame time & add action command also.

    Thanks


  • peterlu
    replied
    Thanks for reply.

    Leave a comment:


  • Novacane89
    replied
    using Vizscript...
    'To Create an action keyframe
    Stage.FindDirector("DirectorName").FindActionChannel("ActionChannelName").AddKeyFrame(10).name = "MyActionKeyFrame"

    'To edit the action script of the action keyframe
    Stage.FindDirector("Default").FindActionChannel("Action").FindKeyFrame("MyActionKeyFrame").ActionString = "THIS_DIRECTOR START"

    Leave a comment:

Working...
X