Contents
Articles
Behaviors
Books
Director News
Director Web Sites
FAQ
Games
Mailing Lists
News Groups
Project Examples
Reviews
Software
Tools
Useful Web Sites
Utilities
Xtras

Don't miss these
Play and cleanup DV Sprites
Generic Timer
Wait for a DirectMedia CuePoint(Name as Reference)
Get Keyboard Delay and Speed
getNameOfDate
VList Xtra
ISOinteractive (Isometric Collision Path Editor) in BETA!
Display Full Screen
Table
createSpecList
 

 

 

FAQ Cache Loaded - Valentina

Added on 4/4/2001

 

Compatibilities:

Required Xtras:
Valentina

This item has not yet been rated

Author: Thomas (website)

How can I check if the cache is loaded or not?

There is no commands for checking if the ValentinaInit has already been called or not. To check if this is the case you can run this script - which works fine with version 1.8.5 and 1.8.5b18 for windows.

on VDB_CacheLoaded
-- Checks if the cache can be started without any problems
vLoaded = TRUE
-- Create object and open fake database
vTestDB = new(Xtra "VDatabase")
vTestDB.openDatabase("ThisNameShouldNeverExistInTheMovieFolder")
-- If no error is reported assume the cache is not loaded
if valentinaError() = 0 then vLoaded = FALSE
-- Destroy object
vTestDB = 0
-- Return result
return vLoaded
end

 


Contact

MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA

Send e-mail