Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 22nd, 2024, 10:00 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: ILMObject - How to manipulate
PostPosted: May 30th, 2010, 5:38 pm 
Offline

Joined: May 25th, 2008, 4:57 pm
Posts: 355
Location: Ireland
Opus: Pro 9.75
OS: Windows 10
System: MacBook Pro (Intel 2020)
Thanks Mack,

I feel very foolish now...


Great solution to something that was puzzling me for the past few days.

_________________
Opus Pro 9.75 on MacBookPro (2020 Intel) running Parallels 19 with Windows 10 (x64)


For this message lmc has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: ILMObject - How to manipulate
PostPosted: May 30th, 2010, 5:46 pm 
Offline

Joined: May 25th, 2008, 4:57 pm
Posts: 355
Location: Ireland
Opus: Pro 9.75
OS: Windows 10
System: MacBook Pro (Intel 2020)
Also the destroy all created objects function needs to be fixed to the following too, so it works if an object is manually destroyed.


Code:
function ClonesBeGone()
{
//DESTROY ALL CLONES
//Debug.trace("NewClonedObjects " + NewClonedObjects + "\n")

//FIRST CHECK IF CLONE EXISTS BEFORE DESTROYING.

for (i = 0; i < NumberCloned; i++)
   {
      if(NewClonedObjects[i] != "[Missing Object]")
      {
      //Debug.trace("Not Missing " + NewClonedObjects[i] + "\n")
      NewClonedObjects[i].DestroyClonedObject();
      }
   }
   
NumberCloned = 0;
}

_________________
Opus Pro 9.75 on MacBookPro (2020 Intel) running Parallels 19 with Windows 10 (x64)


For this message lmc has been thanked by : mackavi


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 42 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group