stonefisher Posted June 12, 2017 Share Posted June 12, 2017 So I want to use this in my script but instead of moving everything with this keyword I want to move everything except items with this keyword. Container.RemoveItem(keyword, -1, true, game.getplayer()) Can it be done? Link to comment Share on other sites More sharing options...
werr92 Posted June 12, 2017 Share Posted June 12, 2017 The first thing comes to my mind is to remove all the undesired items (with this keyword or which are in a certain FormList) to a 3d party container. Then move the rest to the player(seems so in your case). And finally remove everthing from that 3d party container to the initial one. You could even delete 3d party container reference after you're done if it confuses you. Link to comment Share on other sites More sharing options...
stonefisher Posted June 13, 2017 Author Share Posted June 13, 2017 Oh my problem is the keyword is attached to a weapon OMOD. when i use script to RemoveItem(keyword it detects one weapon with that keyword and transfers all weapons with the same baseid as that weapon instead of just the refid of the weapon with the keyword. Its driving me crazy. Link to comment Share on other sites More sharing options...
Recommended Posts