|  | 
	| FAQ
		 • Search • Login | 
	| 
 
 
 
	
	
		
			|   | Page 1 of 1 
 | [ 5 posts ] |  |  
        
        
            | Author | Message |  
			| Asklar Data Realms Elite 
					Joined: Fri Jan 07, 2011 8:01 am
 Posts: 6211
 Location: In your office, earning your salary.
   |   IDsEvery MO has an ID (right?). Now, does that ID change? Let's say, if I buy an actor it will have an ID, but if I buy another one, will it's ID change? 
 
 |  
			| Tue May 01, 2012 11:12 pm | 
					
					   |  
		|  |  
			| Roast Veg Data Realms Elite 
					Joined: Tue May 25, 2010 8:27 pm
 Posts: 4522
 Location: Constant motion
   |   Re: IDsThere are 255 IDs that CC will assign to every MO with collisions in the game at the present time. The ID will simply be the next available number in the list, and changes every time it is created or (correct me somebody if I am wrong) an MO with an ID below it is deleted by the engine. The ID is not MO specific. 
 
 |  
			| Tue May 01, 2012 11:37 pm | 
					
					   |  
		|  |  
			| Asklar Data Realms Elite 
					Joined: Fri Jan 07, 2011 8:01 am
 Posts: 6211
 Location: In your office, earning your salary.
   |   Re: IDsSo, for scripting, it is better to refer to a MO rather than an ID, right? 
 
 |  
			| Tue May 01, 2012 11:40 pm | 
					
					   |  
		|  |  
			| Roast Veg Data Realms Elite 
					Joined: Tue May 25, 2010 8:27 pm
 Posts: 4522
 Location: Constant motion
   |   Re: IDsIn order to get a pointer to a specific MO, you'll probably need to cycle through IDs to find the correct one, then you can refer to it by MO. 
 
 |  
			| Tue May 01, 2012 11:45 pm | 
					
					   |  
		|  |  
			| Asklar Data Realms Elite 
					Joined: Fri Jan 07, 2011 8:01 am
 Posts: 6211
 Location: In your office, earning your salary.
   |   Re: IDsOk, thanks! 
 
 |  
			| Tue May 01, 2012 11:48 pm | 
					
					   |  
		|  |  
		|  |  
	
		
			|   | Page 1 of 1 
 | [ 5 posts ] |  |  
 
	
		| Who is online |  
		| Users browsing this forum: No registered users |  
 
	|  | 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
 
 |  
 |