DarkGDK Programming Wiki
Advertisement

Play the animation data that an object may contain. You can even choose the start and end frames that the animation plays between.

Syntax[]

void dbPlayObject(int iObject)

iObject is the object number.

void dbPlayObject(int iObject, int iStart)

iObject is the object number.
iStart is the start frame.

void dbPlayObject(int iObject, int iStart, int iEnd)

iObject is the object number.
iStart is the start frame. iEnd is the end frame.

See olso[]

dbLoopObject
dbStopObject
dbSetObjectFrame
dbSetObjectSpeed
dbSetObjectInterpolation

Advertisement