Surrealist.

06-10-2005, 06:08 PM

I am trying to learn expressions. But since I want to use them in in IK the doc states that you need to use Lscript expressions.

The Expression builder gives the following as examples of L script syntax:

Camera.pos(Time).X

Yet the Epression Builder's Lscript Functions all return syntax like the folowing:

abs([ItemOne.Position.X])

basically Bracket-type of syntax within ()

I vaguely remember reading something about this. Is this so that the Bracket type of syntax can be used as an L script entry?

I would really like to get a handle on this stuff, so any help would be appreciated.

Also the following is a bracket expression for making something turn in the opposite direction (from a LW8 tutorial):

-[Crunk:Crunk_rightthigh.Rotation.P]

Clear enough to understand. Now how would I make this an Lscript expression?

And I have not quite got my wits around wether or not you would even want such an expression in IK but bascially I want to know how to convert if I need to and so far none of the Lscript examples even work, they all return erors when trying to compile. So I am a little stumped.

A good dose of Expressions 101 would be in order if you have anyplace to point me that would be great.

EDIT: I am now getting a grip on the idea that the place to use Lscrip expressions is in the Modifier tab in the Graph Editor, Motion Options and Object Deformations tabs so I'll be experimenting with the syntaxes I have there as well to see how they work. Still would like a 101.

Thanks.

The Expression builder gives the following as examples of L script syntax:

Camera.pos(Time).X

Yet the Epression Builder's Lscript Functions all return syntax like the folowing:

abs([ItemOne.Position.X])

basically Bracket-type of syntax within ()

I vaguely remember reading something about this. Is this so that the Bracket type of syntax can be used as an L script entry?

I would really like to get a handle on this stuff, so any help would be appreciated.

Also the following is a bracket expression for making something turn in the opposite direction (from a LW8 tutorial):

-[Crunk:Crunk_rightthigh.Rotation.P]

Clear enough to understand. Now how would I make this an Lscript expression?

And I have not quite got my wits around wether or not you would even want such an expression in IK but bascially I want to know how to convert if I need to and so far none of the Lscript examples even work, they all return erors when trying to compile. So I am a little stumped.

A good dose of Expressions 101 would be in order if you have anyplace to point me that would be great.

EDIT: I am now getting a grip on the idea that the place to use Lscrip expressions is in the Modifier tab in the Graph Editor, Motion Options and Object Deformations tabs so I'll be experimenting with the syntaxes I have there as well to see how they work. Still would like a 101.

Thanks.