kRx,
Make use of DarkBasic's 'commands menu', within the 'help menu' and much time will be saved for you. To find the answer to your question, in DarkBasic go to Help>Commands>Basic3D, and then scroll down to the section of commands that 'return a value'. Notice that there are two commands here which can be used to aquire the information you are needing.
1) OBJECT PLAYING()
2) OBJECT FRAME()
In conclusion, do not forget to first check the 'commands menu' for commands specifically related to your problem. By doing this, rather than waiting for a problem solving reply on this forum, will save you much time. Also, each section of the 'commands menu' has commands that return a value, all at the bottom of the section.
+NanoBrain+