Jump to content

SL Triggers(v12) [2022-06-05]


Recommended Posts

Posted
13 hours ago, hextun said:

 

I don't see anything immediately wrong here. Remove everything except the msg_notify, maybe add a little more text there so it stands out easily when it appears. Basically, the script should just be a msg_notify. If that does not work, it suggests the problem isn't a faulty script but the trigger not running when it should. 

Thanks for answering me! I tried your advice and set the condition in MCM as wide as possible, the msg showed up but the item still can not be added to player.

Is it possible that I give the wrong formID for the item? but I get it from SSEDIT and I double checked it in game with placeing the item in some chest, and choosing the chest and give the console "showinventory", the ID console gave me back was FED09852, it looks just the same as I get from ssedit, with the esl mod in the MO2 having the loading order of FE:0D9.

Sorry I aint a english native speaker, if I got you confused with me gibbrish LOL. Really thanks again,

Posted
19 hours ago, lancelot6king said:

Thanks for answering me! I tried your advice and set the condition in MCM as wide as possible, the msg showed up but the item still can not be added to player.

Is it possible that I give the wrong formID for the item? but I get it from SSEDIT and I double checked it in game with placeing the item in some chest, and choosing the chest and give the console "showinventory", the ID console gave me back was FED09852, it looks just the same as I get from ssedit, with the esl mod in the MO2 having the loading order of FE:0D9.

Sorry I aint a english native speaker, if I got you confused with me gibbrish LOL. Really thanks again,

 

Try "garbagedump.esp:2130".

 

852 is part of a hexadecimal string, FED09852 (or FE0D9852, not sure which is the typo), but the FormID is expecting a decimal value. Convert the 852 (base 16) to (base 10) and you get 2130.

  • 4 months later...
  • 1 month later...
Posted
On 6/5/2022 at 12:03 AM, satanfist said:

Hmm, I did as you suggested and removed both cmds. I certainly do not get an override of the sexlab strip settings now, but the 'hood' is no longer equipped. Is it assumed that the 'hood' is already in the NPCs inventory?

 

p.s. The execution hood I think is classed as clothing as it has no armour rating. The hood utilitizes body slots 30,31,42,43. I checked sexlab and at least one of these was marked for removal. I unchecked all of these slots, but the hood is still not worn or present in the inventory. I assume that I'm using the correct cmd syntax?

 

p.p.s. O.K. I think I have found the solution to my issue thanks to Fotogen's guidance and this wonderful mod that is an essential part of every Skyrim playthrough. I admit I used the script of someone else as a template for my script, without fully understanding what the commands did. As a last resort I looked at the documentation ? I see that many commands have a standard edition and a SKSE version.

 

{
	"cmd" : 
	[
 	["msg_notify", "I feel rather Saucy too!"],
        ["set", "$0", "skyrim.esm:371167"],
        ["item_equip", "$self", "$0", "0", "1"],
		[":","eqf"],
        ["actor_qnnu", "$self"],
	["util_waitforend", "$self"],
        ["item_remove", "$self", "$0", "1", "1"],
	]
}

 

I removed the command item_addex and item_unequipex as suggested. I changed item_equipex to item_equip, with the same syntax. Wow! it works perfectly. The hood is equipped without any nasty re-equip effects and is nicely removed from the NPCs inventory at the end. Hopefully this will be helpful to anyone else who has experienced armour and weapons being re-equipped.

helps a lot

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...