I would just use an if-then statement to check if the flag is set and then switch the variable type, but I have no idea if you can do that with your code.
I'd have to design a special case or something, it just seems annoying. An element at a path should be the same type regardless of other elements. :/
Edit:
I think the best solution is to just check if the type of the destination element and the type of the source element match. If they don't then don't copy.
Edited by matortheeternal, 06 September 2014 - 01:52 AM.



Sign In
Create Account

Back to top









