I have been working with modding ever since Morrowind. Mostly some few private projects.
I have not been doing much scripting, since I had no need for it, but I did try it once in Oblivion and thought it was not THAT hard, if one was to sit down and try to understand it.
Although, with a new mod in the works, I now need to create a few scripts in Skyrim. And it is a pain. The Papyrus language is much harder than I expected and there are way too many things that I yet cannot understand.
I have created a few scripts for the mod already, but I really need some help for the big (and very important) one.
Here is what it should do:
[1]* When the player has an armor item equipped, he will get a message, when clicking on some dead bodies (men, mer and creatures).
[2]* If the RACE of the dead creature = RACE1 property, go to STAGE1
[2.5]* If the RACE of the dead create = RACE2 property, go to STAGE2
etc with races
STAGE1,2,etc
[3]* If the state of the body is NOT "STATE1" (property), then a message box should come up
[3.5]* If the state of the body IS "STATE1" (property), go to [5]
[4]* The message box will ask, if player wants to preform "Action lalala" on the corpse.
[5]* If no - open loot
[6]* If yes - check if player has ITEM1 and ITEM2.
[7]* ^ If player does NOT have both or any of ITEM1 or ITEM2, go to [5]
[8]* ^ If player has both ITEM1 and ITEM2, remove the ITEM1 x1 and ITEM2 x1, set corpse state to "STATE1", add ITEM3 x1 to player
EndSTAGE
It must look rather complicated, and it is... Sadly, I cannot create it with my own skills and therefore ask for your help. Also, I am not too sure of how good the order is in that.
The script has a little similarity to the blood extractor (DA04) script. Although, looking at these scripts did not help me at all.
Also, I do not know if the first park of the script should be added to armor or perk.
If perk, then the armor item will just give the perk to the player when equipped and remove it, when unequipped. (I know how to do that)
So far, the only things I know how to do to these scripts is the beginning. Like this template:
Scriptname TESTSCRIPT1 extends ObjectReferenceMiscObject Property ITEM2 autoMiscObject Property ITEM3 autoMiscObject Property ITEM1 autoRace Property RACE1 autoRace Property RACE2 autoRace Property RACE3 auto;etc with races
And yeah, that is kinda all I can for that script :/
Will greatly appreciate any help you can provide.

