Mirage Source
Check loaded objects? - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17)
+---- Thread: Check loaded objects? (/showthread.php?tid=737)



Check loaded objects? - Leighland - 14-02-2007

Is it possible to check if an object is loaded?

I want do to the following (pseudo code):

Click scroll bar left, incs scroll bar value to 1.
Load object called say "name1(scroll bar value)".
Later, Check if "name1(scroll bar value)" is already loaded, and if so, don't load it gaain. If not, load it and show it on the form.

That possible? I know I can unload and reload the objects but I don't want to lose the data that is contained in them. Help is appreciated Smile