Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
Scripting Experts: can 't use Setkeys with my own array

Scripting Experts: can 't use Setkeys with my own array

2004-02-12       - By Sebastian Faber

 Back
Reply:     1     2     3     4     5  

Hi guys,

I try to use SetKeys with my own defined array.
this is the example I found in the docs:


  set oRoot = Application.ActiveProject.ActiveScene.Root
  set oNull = oRoot.AddNull()
  set oPosx = oNull.Posx
  set oFCurve = oPosx.AddFCurve()

  oFCurve.SetKeys( Array( 1, 10, 2, 20, 3, 30 ) )


now I tried to define my own array

     myOwnArray = Array(10, 20, 2)
  oFCurve.SetKeys( Array( myOwnArray ) )

But this causes an Error. Does anybody knows how to get it work? I tried
different kind of
syntax but without having success.

thanks in advance...



Sebastian









---
Unsubscribe? Mail Majordomo@(protected) with the following text in body:
unsubscribe xsi