Jump to content

Modding Question: have NPC use item immedately


Swizzler

Recommended Posts

Hi. I'm working on an Item that is considered a food item, but on consumption "poisons" the victim and kills them quickly. I'm developing it as a quieter alternative to reverse-pickpocketing grenades. I've got the poison done, and it works (tested it myself!) but the problem is getting the NPC to drink it. Any Ideas?
Link to comment
Share on other sites

Maybe not a clean solution... but add an object script to it. On pickup, or acquire, add an ai package. The ai package set to must run, etc. set for whatever time-limit, like an hour or 10mins. And force them to consume a specified item from their inventory.
Link to comment
Share on other sites

Maybe not a clean solution... but add an object script to it. On pickup, or acquire, add an ai package. The ai package set to must run, etc. set for whatever time-limit, like an hour or 10mins. And force them to consume a specified item from their inventory.

 

do you know of any good tutorials on object scripting? mostly all i've done so far in the GECK is world building, so this is fairly new to me.

Link to comment
Share on other sites

Maybe not a clean solution... but add an object script to it. On pickup, or acquire, add an ai package. The ai package set to must run, etc. set for whatever time-limit, like an hour or 10mins. And force them to consume a specified item from their inventory.

 

do you know of any good tutorials on object scripting? mostly all i've done so far in the GECK is world building, so this is fairly new to me.

 

 

i'm slowly learning how poorly this stuff is documented... Here's what i've got so far

 

ScriptName SwizzPoisonedWater

Begin OnAdd (Refrence? Container? I'm not sure what to call a target NPCs inventory)

(not sure how to add an AI package, there's almost no documentation on how to add these or run them through scripts that I can find)

End

 

Any help would be great guys

Link to comment
Share on other sites

  • Recently Browsing   0 members

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