Jump to content

Scripting Help Needed


Recommended Posts

Hello Nexus community :)

 

I'm working on my first public mod: http://fallout3.nexusmods.com/mods/17620

And I have encountered a snag...

 

I have a NPC with her own dialogue and I wish to script a feature:

I would like my NPC to give me a haircut if I have a pair of scissors. (Each haircut costs a pair of scissors. I know how to remove items.)

I already have the haircut menu function working. However, my problem lies here: How do I get the script to check if I have a pair of scissors?

I would like the topic to be disabled if I lack the pair of scissors. I believe it may have something to do with player.getitemcount?

Also, How would I hide the choice of a haircut if my player character does not have a pair of scissors?

 

Here is my current BEFORE script in dialogue:

Player.RemoveItem 000250A4 1 100

 

Here is my current AFTER script in dialogue:

Player.ShowBarberMenu

 

Help would be greatly appreciated.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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