Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Check if video has ended?

Author
Message
mike5424
17
Years of Service
User Offline
Joined: 30th Mar 2009
Location:
Posted: 21st Mar 2010 15:59
Well, I tried

But no luck. I need to check if the video has ended and,If it has, Goto level 1. Any ideas?

---
Hawkblood
16
Years of Service
User Offline
Joined: 5th Dec 2009
Location:
Posted: 21st Mar 2010 18:30
while animation playing(1)=1
endwhile
goto level1

The fastest code is the code never written.
jeffhuys
20
Years of Service
User Offline
Joined: 24th May 2006
Location: No cheesy line here.
Posted: 21st Mar 2010 23:03
Also, don't use GOTO!

You're the 'th to view this signature!
Daniel wright 2311
User Banned
Posted: 21st Mar 2010 23:21
if animation playing(1) = 0 then gosub level1

Mobiius
Valued Member
23
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 22nd Mar 2010 09:42

Better...


Best!

My signature is NOT a moderator plaything! Stop changing it!
jeffhuys
20
Years of Service
User Offline
Joined: 24th May 2006
Location: No cheesy line here.
Posted: 22nd Mar 2010 10:43
Yeah, my LoadLevel( Path as String ) Function is ~1000 lines atm...
Love it.

You're the 'th to view this signature!

Login to post a reply

Server time is: 2026-07-26 21:12:30
Your offset time is: 2026-07-26 21:12:30