Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Need help with cloning.
Need help with cloning. [message #-993328] Sat, 26 October 2002 16:03 Go to next message
Anonymous
What's the difference between copy, instance, and reference?
Need help with cloning. [message #-993327] Sat, 26 October 2002 16:28 Go to previous messageGo to next message
Anonymous
well Copy is an actual copy of the object, Insance and referance are allmost the same, if you make a referance of an object its a mirror of the object and anything you edit on the original will change on the referance too.

Hope it helps
Need help with cloning. [message #-993326] Sat, 26 October 2002 16:46 Go to previous messageGo to next message
Anonymous
Well first you take the DNA.....
Need help with cloning. [message #-993325] Sun, 27 October 2002 05:45 Go to previous message
Anonymous
Well, here's to make it quick and easy to understand:

clone objectA -> objectB as instance:
- changes made on A affects B
- changes made on B affects A

clone objectA -> objectB as reference:
- changes made on A affects B
- changes made on B does not affect A

clone objectA -> objectB as copy:
- changes made on A does not affect B
- changes made on B does not affect A

You can have as many references or instances as you want for an object.

- Abjab
Previous Topic: MOD MAP NIGHT SUCEESS OR FAILURE
Next Topic: moddev
Goto Forum:
  


Current Time: Wed Dec 18 16:45:59 MST 2024

Total time taken to generate the page: 0.01089 seconds