nightshifter on 13/9/2016 at 12:25
I've got a setup with a door that has NVFrobToggle on it.
frobbing the door has to start a conversation.
when empty handed it does. when holding a key it won't trigger.???
problem is that the player will just before going to that door has to steal a key( not for that door),
so chance it big that he holds the key in hand when using the door.
think I will have to change the script on the door, but I don't know what would do the trick
nightshifter on 13/9/2016 at 12:40
seach over here gave me an error, but with google/search ttlg I did find the solution myself.
TrigDoorOpen:D
still strange that NVFrobToggle won't work with a key in hand:confused:
LarryG on 13/9/2016 at 13:33
Try putting NVSpy on your door & look at the messages with and without a key in hand. According to the NVScripts doc, NVFrobToglle responds to "FrobWorldEnd and FrobInvEnd messages" only. I'm betting that with the key in hand it is a different message. (At a guess, with the key the message is "PlayerToolFrob".)
The TrigDoorOpen script is much more specific to doors only and does not respond to the frobbing, StdDoor is doing that, instead, according to the docs, TrigDoorOpen is responding to what the door is doing, the "DoorOpening" and "DoorClose" messages.
NVSpy is your friend. Get to know it well. Scripts are all about the messages and NVSpy helps you figure out just what messages are involved.
john9818a on 20/9/2016 at 03:58
On one of my doors I put "TrigWorldFrob" and "TrigDoorOpen" to handle either frobbing the door or opening the door with the key, but I haven't figured out how to get it to work with the wrong key. I tested S&R with the wrong key and the door but I'm not sure if the "StdKey" script is interfering with the process.