Cloning an empty container and putting cloned items into it?

lightwriter
Is this possible, if so how?
In my game I have an individual room for items and stuff...
and I use the 'before player enters room' and the Clone and Move function to move things into the room. This way if I have to edit 1 item I don't have to update it several times.
I know how to clone the container itself but is there a way for me to clone things into the newly cloned container or will I have to manually make the container a duplicate and put whatever I want in there and then clone that object container into the room?
If I'm confusing you, basically, what I'm asking is a way to clone something like an empty chest and then put cloned items into the newly cloned chest?

Pertex
Sure it is:
clone.jpg


or the code:
      newbag = CloneObject (bag)
CloneObjectAndMove (thing, newbag)

lightwriter
thanks!

HegemonKhan
You may also want to take a look at this too:

viewtopic.php?f=18&t=3515 (Sora's Stackable Library: items grouping+quantity storage)

it's not quite what you're asking for, but it is related a good bit.

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums