Nameless Voice on 21/10/2019 at 22:16
You could try using NVSetPropertyTrapPrefix, which will prefix a string in front of the integer property value being set. You can't get rid of the number altogether, though.
Unna Oertdottir on 22/10/2019 at 05:43
it's almost working
NVSetPropertyTrapProperty="ModelName"; NVSetPropertyTrapValue="3b"; NVSetPropertyTrapPrefix=zom
then I get the shape "zom3", a leg (zom3b is a torso)
"b" in "3b" will be ignored
Nameless Voice on 30/10/2019 at 03:15
I guess you'd have to copy and rename the model to something like zomb3.
A pain, since that's an original object name.
john9818a on 30/10/2019 at 04:04
Is the NVSetPropertyValue treating the "3b" as a numeric value converted to a string variable or literally as a string variable?
Nameless Voice on 8/11/2019 at 02:23
It's treating it as a numeric value, so it just trims/ignores the non-numeric characters.
Unna Oertdottir on 9/11/2019 at 21:22
For fixing dmls, NVSetPropertyTrap is now a standard tool. :cheeky: It's not written in the documentation, but is there a way to have multiple copies of this script (NVSetPropertyTrap, NVSetPropertyTrap2, NVSetPropertyTrap3...). Same for NVSetPropertyTrapProperty and NVSetPropertyTrapSubProperty. This would enable some difficult scripting on a single object.
Nameless Voice on 16/11/2019 at 22:53
Not in the usual way, but you can use its old name, NVRandomPropertyTrap, on the same object, with its own parameters!
(Just treat NVRandomPropertyTrap as if it were NVSetPropertyTrap2)