[dirGames-L] Re: OOP Question

Mark Castle markie at the-castle.com
Tue Nov 1 08:48:27 EST 2005


Marty,

There's no way I know to list all the instances (script names or some
location you could then track down). Be aware also that if you do a 'put' to
the message window to see a current count of references you'll get ONE MORE
than the count in the code because you've now referenced it in the msg
window. This still throws me occasionally, as you don't create an instance
expicitly, but apparently Director needs to make one long enough to get the
count.

Good luck,


Markie

-----Original Message-----
From: dirgames-l-bounces at nuttybar.drama.uga.edu
[mailto:dirgames-l-bounces at nuttybar.drama.uga.edu]On Behalf Of Marty
Plumbo
Sent: Tuesday, November 01, 2005 5:52 AM
To: dirgames-l at nuttybar.drama.uga.edu
Subject: [dirGames-L] Re: OOP Question



Thanks for your in-depth, and very informative, reply, Alex!

It looks like the key (for my situation at least) is that if you
*don't* set a variable reference to a script instance, you needn't
worry about it.  It will be deleted automatically after execution.
Any references though, including in the actorlist, must *all* be set
to VOID to get the instance out of memory.

I'm curious then, can I have Director list all of the script
instances current "alive" in memory?  Whether referenced by a
variable or not?
_______________________________________________
dirGames-L mailing list  -  dirGames-L at nuttybar.drama.uga.edu
http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames-l



More information about the dirGames-L mailing list