PDA

View Full Version : how can i copy component variables?



unrealer2
08-15-2008, 10:01 AM
Hi!

I'm posting this for [WuTz]! because he has no internet account and it is really difficult for him to get online. As i have no sense of scripting you must forgive me when i write some odd things:p

Here s his question:

I want to copy a component variable, but i dunno how:(

I tried newsprite=oldsprite, but it only linked newsprite to the old one:eek:

Please help me!

Mr Evil
08-15-2008, 10:08 AM
You can use "new" to duplicate objects by giving the old object as the archetype (http://wiki.beyondunreal.com/Archetype).