Can someone tell me what I am doing wrong here? I am trying to set keyframes on an animation controller via script but I seem to be doing something wrong with my syntax. Cannot get this to work.
dim anim1 as xpAnimController
dim myQuad as xpBaseObject
self.GetObjectByName("AC1", anim1)
self.GetObjectByName("Quad1", myQuad)
anim1.SetKeyFrameAlpha(myQuad, 0, 100)
anim1.SetKeyFrameAlpha(myQuad, 30, 0)
anim1.SetKeyFrameScale(myQuad, 0, 1, 1, 1)
anim1.SetKeyFrameScale(myQuad, 30, 2, 2, 2)
------------------------------
Carlito Chippy
------------------------------