Silenty Save a Specified Morph Asset

Faux2DFaux2D Posts: 452

I need a script that can silently save a specific morph (property) from Gen 9 into a specified folder. I couldn't even figure out how to change an option like the Vendor Name though script.

I already looked into the sample script Save Support Asset Morph but no luck. Running the script doesn't really do anything.

Here is a cutout portion:

var AssetManager = App.getAssetIOMgr()var MorphFilterIndex =AssetManager.findFilter("DzMorphSupportAssetFilter")var MorphFilter = AssetManager.getFilter(MorphFilterIndex)var Settings = new DzFileIOSettings()MorphFilter.getDefaultOptions(Settings)Settings.setStringValue("VendorName","TEST VENDOR")MorphFilter.doSave(Settings,"")

All I get is the pop-up for the Morph Asset(s) Save Option but nothing is changed, just the default settings, the vendor name is still the same.

Post edited by Richard Haseltine on

Comments

  • That script is currently saving the Olympia 7 morph - you would obviously need to add the methods to identify the morph(s) you want to save and insert their details where required.

Sign In or Register to comment.