Remove item from PC, no of items = global

Post » Mon Nov 19, 2012 8:57 pm

Hey fellow modders.

So what I am trying to do is simple, I need to remove items from the PC (a quest dialogue handles this) but the number of items removed needs to be determined by a global value.

Any ideas?

:lightbulb:
User avatar
Christine Pane
 
Posts: 3306
Joined: Mon Apr 23, 2007 2:14 am

Post » Tue Nov 20, 2012 12:34 am

GlobalVariable property myRemoveCount autoSomeType property myItem autoEvent OnWhatever()	Game.GetPlayer().RemoveItem(myItem, myRemoveCount.GetValueInt())endEvent
User avatar
Jamie Moysey
 
Posts: 3452
Joined: Sun May 13, 2007 6:31 am


Return to V - Skyrim