Soul Tear on 29/11/2025 at 22:09
I want to create a simple RPG system where you pick up an item and gain resistance.
So I created a meta property StenchProof, and it works if put it on Garrett's archetype, but it needs to be added during the game.
It doesn't work with receptrons:
TrigWorldFrob > EmitterTrap > Statue > Add MetaProperty > Target: Garrett/Avatar/StartingPoint (I tried everything) > Agent: StenchProof
Then I tried NVMetaTrap and drowned.
Code:
NVMetaTrapMeta="StenchProof";
NVMetaTrapTDest="Player"
Then I decided to make the burricks harmless, but even that crap doesn't work; it seems their damage is hardcoded in the script.
R Soul on 30/11/2025 at 00:01
You can put the TrigContained script on the item, give it a CD link to the NVMetaTrap object it should work fine with the parameters you posted.
If the object is dropped/deleted etc it will
not remove the meta property.
Since you've mentioned Burricks:
If this is a T1 mission, it's worth double checking that you have the NVScript osm for that game: (
https://github.com/NamelessVoice/nvscript/releases/)
john9818a on 30/11/2025 at 19:20
I'll have to verify when I get home, but I think I had to add the line NVMetaTrapMetaOn="TurnOn"; before the setup would work.
Also do you have Script set on you Frob Info parameter?
Soul Tear on 1/12/2025 at 17:50
Quote Posted by R Soul
You can put the TrigContained script on the item, give it a CD link to the NVMetaTrap object it should work fine with the parameters you posted.
If the object is dropped/deleted etc it will
not remove the meta property.
Quote Posted by john9818a
I'll have to verify when I get home, but I think I had to add the line NVMetaTrapMetaOn="TurnOn"; before the setup would work.
Also do you have Script set on you Frob Info parameter?
Move, Script
Script
Script
Nothing works in any combination.
john9818a on 1/12/2025 at 18:17
I did something similar in my FM Living Nightmare. When the player drinks a potion, the player becomes invulnerable to every type of damage. When I get home from work I'll post how I set it up. :)
john9818a on 2/12/2025 at 01:56
I was trying to make an example with NVMetaTrap, but I noticed that the "TDest" works with NVTrigger scripts and not NVTrap scripts.
In my Living Nightmare I simply used a conversation to add a metaproperty to "player" and it worked fine.
R Soul on 2/12/2025 at 19:05
Quote Posted by Soul Tear
Code:
NVMetaTrapMeta="StenchProof";
NVMetaTrapTDest="Player"
I've just re-read the documentation for this script, and the second parameter is wrong. I'd also forgotten a couple of details, so the full setup can be this:
Remove anything you've already attempted (to prevent clutter and potential conflicts with the following correct setup)
On the item, add the script NVMetaTrap
Design Note:
Code:
NVMetaTrapMeta="StenchProof"; NVMetaTrapTarget="Player"; NVMetaTrapOn="Contained"
(also remember to be sensible and make sure NVScript.osm has been loaded into the mission)
No other objects, scripts or links are needed unless the player can drop the object and lose the effect.