DrPootis Posted April 2, 2012 Share Posted April 2, 2012 (edited) I have a script for a water purifier that should turn all of the player's bottles of dirty water in their inventory to purified ones.However, I don't know how to tell it to take all of the player's dirty bottles & replace them, and I'm also having problems with compiling the script: scn BunkerPurifierScript short Button begin OnActivate if IsActionRef player ShowMessage BunkerPurifierMsg endif end begin MenuMode 1001 set Button to GetButtonPressed if ( Button == 1 ) if ( player.GetItemCount waterunpurified >= 1 ) player.removeitem waterunpurified 1 player.additem waterpurified 1 endif end Any suggestions? Edited April 10, 2012 by DrPootis Link to comment Share on other sites More sharing options...
Recommended Posts