Windwhistle Posted April 10, 2013 Share Posted April 10, 2013 In a dialouge quest, how would one of the dialouge topics check for a specific item before removing it and giving another item? Example: Courier has 9mm pistol. Courier asks npc to modify. NPC runs a script or whatever to check for the item in inventory, if there, it will remove it, and give the modified version. Link to comment Share on other sites More sharing options...
DizzasterJuice Posted April 11, 2013 Share Posted April 11, 2013 (edited) This would be the result script in the topic.Additionally you'd want to put a GetItemCount condition in the repair dialogue so it won't come up unless the player has that item. If Player.GetItemCount ObjectID != 0 Player.RemoveItem ObjectID 1 Player.AddItem NewObjectID 1 EndIf Edited April 11, 2013 by DizzasterJuice Link to comment Share on other sites More sharing options...
Recommended Posts