I've added a bit of code in many of the Module Events scripts to store player info. Now when a player loots a dead body, we see a skin. Instead of removing the code from every script, I would rather just remove it from the one directly involved with looting. Any ideas what one that would be?
Module Events - which one affects looting?
Débuté par
Buddywarrior
, mai 10 2013 01:42
#1
Posté 10 mai 2013 - 01:42
#2
Posté 10 mai 2013 - 02:31
The OnAcquireItem is the event you would be looking at, but this event triggers any time a PC gains an item via script, any time he polymorphs, etc.
EDIT: If you are referring to treasure generation, you would be looking at nw_o2_coinclude, however a search of the script did not show "x3_it_pchide" (the ResRef and tag of the PC skin) so the name is possibly hidden
EDIT: If you are referring to treasure generation, you would be looking at nw_o2_coinclude, however a search of the script did not show "x3_it_pchide" (the ResRef and tag of the PC skin) so the name is possibly hidden
Modifié par WhiZard, 10 mai 2013 - 02:36 .
#3
Posté 10 mai 2013 - 02:40
WhiZard wrote...
The OnAcquireItem is the event you would be looking at, but this event triggers any time a PC gains an item via script, any time he polymorphs, etc.
EDIT: If you are referring to treasure generation, you would be looking at nw_o2_coinclude, however a search of the script did not show "x3_it_pchide" (the ResRef and tag of the PC skin) so the name is possibly hidden
Thanks a ton WhiZard. I'll start at the OnAcquireItem then. Thanks again!
#4
Posté 10 mai 2013 - 03:53
Are you by chance seeing a "pc_skin"? If so, that needs to be tracked down and removed from the horse system and several Bioware spells scripts instead.
#5
Posté 16 mai 2013 - 02:00
Yes I was. But for some reason, once I removed the small bit of code that stores player's location to an item on the player, it went away.kalbaern wrote...
Are you by chance seeing a "pc_skin"? If so, that needs to be tracked down and removed from the horse system and several Bioware spells scripts instead.





Retour en haut






