nPoseTeam / nPose-SAT-NOTSAT-Plugin

A nPose plugin to allow delaying an action until a sitter either enters a seat or exits a seat.
0 stars 1 forks source link

Use a change in the slots list NC name to fire a (NOT)SATMSG #1

Closed LeonaMorro closed 4 years ago

LeonaMorro commented 7 years ago

[12:38] Howard Baxton: Looking at the V3 NOT/SATMSG handler and there's a situation in IW I've been working on which has unfolded where V2 can't handle the situation when noting in the pose changes except props and notecard name. Since I've implemented the addition of notecard name into the slots list there, I can now add the condition where notecard name changes but everything about the pose stays the same... if(listsEqual == FALSE || oldCardName != newCardName). V3 is enough different that there is no place for this line but it should be added in as a check. SATMSG really only needs to know when notecard name changes but NOTSAT really needs to know both conditions. [12:39] Howard Baxton: ((well I think that's true about SATMSG))

LeonaMorro commented 7 years ago

This will not work in nPose V3.10 because the multilanguage feature uses 2 NCs with diffenrent names to do the same thing.

LeonaMorro commented 5 years ago

I'm currently working on the next nPose version and I could implement a mechanism that allows ON(UN)SIT to trigger whenever a slot is touched by an ANIM/SCHMO(E) command (regardless of the NC name). This mechanism would solve the above problem, but it has one (minor?) drawback: It will also trigger ON(UN)SIT if I press the same button again. I reopen this issue to allow comments and as a reminder for me.

HowardBaxton commented 5 years ago

Your suggestion could be less confusing than the current work around of changing a position vector (or something) to get it to fire. Since the slots list contains the full notecard name for each slot, isn't it possible to compare old slot card name to new slot card name in sat/notsat handler script? My thinking is this would be the better fix.

LeonaMorro commented 4 years ago

implemented in V4.00