Jump to content

very specific scripting help request


Vilham2

Recommended Posts

I need a script that will add a thrown item to the npc that was hit's invintory. Preferebly have about 80% chance. The item code is 01000EA8. I am completely lost with this scripting. What it will do is when i throw my ninja star if it makes contact with a npc it dissapears and it (or a copy) is placed in their invintory. If it misses i would still like to be able to manually find it and pick it up. Btw this is my second mod
Link to comment
Share on other sites

You don't need the item code. If it's a weapon, the structure is as follows:

 

Script -> base effect -> object effect (weapon type) -> weapon (added as enchantment).

 

The script should do, more or less:

begin scripteffectstart

if (getrandompercent > 20)

additem throwingstareditorid

endif

end

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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