|
This function is very useful and is often used
together with STATE_object_set_3D_sequence()
This function creates a copy of the given sequence and add it
to the 3D_sequence list of the given 3D_animation.
Usually the given animation3D_handle is the 3D animation that
sequence_to_duplicate belongs too.
Using this function we can create for each object
its own copy of the 3D_sequence thus when we will change the sequence
properties it will effect only this object.
name is the name to be given to the duplicated copy.
Return value: The function returns a handle to the new sequence that was created.
See also STATE_object_set_3D_sequence() (very recommended)
Example:
STATE_3D_sequence_duplicate(robot_animation, walk_sequence,"robot1_walk");
|