duplicating a slice?
Moderators: marionline, SDHawk
- SwordPlay
- Chemical Slime
- Posts: 966
- Joined: Sun Jan 22, 2017 9:32 am
- Location: London, England
- Contact:
duplicating a slice?
Is there a plotscript command to duplicate a slice?
There is a command called "clone sprite(handle)", but I can't find anything that does the same with general slices. The only thing I can think of is creating a plotscript named "duplicate slice" or something that takes a slice handle as an argument. Then you could use commands like "slice is container()", etc. in a huge list of else-ifs or a switch statement, and then get the slice info and copy it into a new slice. Might also want to add a parent slice as an argument, or just get the parent of the slice you're duplicating.
My pronouns are they/them
Ps. I love my wife
Ps. I love my wife
I added it. Wasn't as straightforward as I thought... Wait a day. plotdict entry
Last edited by TMC on Mon Sep 18, 2017 7:37 am, edited 1 time in total.