(Formerly known as SetCharacterFrame, which is now obsolete)
Character.LockViewFrame(int view, int loop, int frame)
Sets the character's graphic to frame FRAME of loop LOOP of view number VIEW.
This is useful if you don't want an animation, but just want to change the
character to display a specific frame.
The frame will be locked to the one you specify until you call UnlockView.
Example:
cEgo.LockViewFrame(AGHAST, 2, 4);
Wait(40);
cEgo.UnlockView();
will change EGO to have frame 4 of loop 2 in the AGHAST view, wait for a second,
then return him to normal.
See Also: Character.Animate,
Character.LockView,
Character.UnlockView
|