Jump to content

Add item to inventory script quest


Lordspence

Recommended Posts

Hey guys,

 

I know I'm waaay late to the game here, and also probably proving to you all conclusively the extent of my stupidity, but I can't find a solution to this anywhere.

 

I'm trying to create a mod that adds some modified items to the player's inventory upon startup. So far all I've got is to make a priority 100 quest with the script:

 

Begin GameMode

 

player.additem ......... 1

player.additem ......... 1

 

End

 

The quest condition I set in addition to the script was GetIsPlayableRace NONE == 1, which I gather is the sandbox quest condition.

 

Tell me what I'm doing wrong? And some advice on how to fix it would be nice :)

 

Thanks.

Link to comment
Share on other sites

What Dizzaster said. Also you don't need the condition for playable race or to set the priority high. Just set the script processing delay to something relatively low, like 1.0 for example. And unless you want the items to be repeatedly added every time you start the game, create a variable and condition to check if they have been added, like:

 

 

short doOnce

 

Begin GameMode

 

if doOnce != 1

 

player.additem ......... 1

player.additem ......... 1

set doOnce to 1

 

endif

 

End

 

Hope it helps.

Edited by Guest
Link to comment
Share on other sites

  • Recently Browsing   0 members

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