Jump to content

How to give a layer a ring when game starts if he does not have it


tonycubed2

Recommended Posts

Typing on my iPad 3 while walking the girls!

 

How to give the player a ring when the game runs if they do not have it in their inventory? The ring invokes the sandman when worn, which with dialogue controls the odds of being ambushed while sleeping. The mod is up, but I am trying to give players control on odds.

 

I do not want them to use the console and additem command. Trying to preserve immersion. M

 

Thanks !

Link to comment
Share on other sites

Well, if you have dialogue, you must have a quest right? Add this to the quest script:

 

Form property CustomRing auto

Event OnInit()

if (Game.GetPlayer().GetItemCount(CustomRing) == 0)
	Game.GetPlayer().AddItem(CustomRing, 1)
endif

EndEvent

Link to comment
Share on other sites

Maybe make a little "quest" of sorts, that's set to start-up with the game, and for that quest make a chest and have it in a secure location accessible by the Player, then have the Ring (along with anything else you might want to give the Player) in the chest. Then you just let the Player know where to find it.
Link to comment
Share on other sites

fg109, thanks!!!! Worked liked a charm.

 

BigDon1, thanks, I would have done so but it is not a quest item per se, it is a utility allowing a in game menu. Thus a quest would not really apply, though I appreciae the answer.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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