voodoo47 on 30/9/2019 at 14:22
why not just use NVRemovePropertyTrap?
https:/nameless.zanity.net/nvscriptbeta/shock2/NVScript.html#NVRemovePropertyTrap
Nameless Voice on 30/9/2019 at 18:42
That wouldn't override the FrobInfo if it was inhereted from a parent archetype or metaproperty.
Unna Oertdottir on 30/9/2019 at 19:02
I quoted the dml, because I wanted to keep the design note.
In this case it's working.
Please tell me how to overwrite inherited FrobInfo.
Nameless Voice on 30/9/2019 at 19:14
I meant that using NVRemovePropertyTrap would not overwrite inherited FrobInfo.
I'm surprised your design note works, though.
I'd have thought you'd need to do:
Code:
NVSetPropertyTrapProperty="FrobInfo"; NVSetPropertyTrapSubProperty="World Action"; NVSetPropertyTrapValue=0
Since there's no "World Action [None]" sub-property. I'm surprised DromEd doesn't throw an error when you try that.
(The FrobInfo actions are flags, so a value of 0 should mean "no flags are set".)
Unna Oertdottir on 30/9/2019 at 19:25
Good, Thanks. I was wondering whether there's
NVSetPropertyTrapPropertyTarget
available.
voodoo47 on 30/9/2019 at 20:54
Quote Posted by Nameless Voice
That wouldn't override the FrobInfo if it was inhereted from a parent archetype or metaproperty.
ah, I misread the post a bit, thought just removing the prop from a concrete was the intention.
Nameless Voice on 30/9/2019 at 23:22
There's no -Target param, that script is not Targetable. It only applies changes to its own object.
Unna Oertdottir on 21/10/2019 at 19:57
I want to change the shape of a corpse linked object (body parts) on creation. How to do that with NVSetPropertyTrap? I tried to set "model name" as NVSetPropertyTrapProperty/NVSetPropertyTrapSubProperty and the new shape in NVSetPropertyTrapValue, but that didn't work.
Nameless Voice on 21/10/2019 at 20:19
I think you'll need to use act/react for that one. Change Object Model receptron.
Unna Oertdottir on 21/10/2019 at 20:39
Already did that (change object model), that works, but it seems it's not enough because there are different zombie types.
I want to "cheat" ZombieRegen script which is adding M-ZombieParts to zombies. I need to add additional zombie part shapes depending on the zombie archetypes.
(Zombie, FreshZombie, Female Zombie).
This should work as gamesys.gam.dml without additional (CreateArch) object creation in the gamesys.