Lucidx Posted June 7, 2009 Share Posted June 7, 2009 How do I make a weapon auto equip on the player, I'm making a mod that makes Tranquility lane more... hilarious, and I need to make certain items auto equip on the character when he picks them up. So how do you make items equip themselves on the PC? (player character= PC) Or, is there anyway to allow the pc to be wearing a pipboy whilste within the confines of Tranquility lane? EDIT: I figured out I needed a script, Now, I'm very very very new to GECK scripting, I've made this script, but the Editor Says there is an Error on Line 6 ScriptName 11KnifeSCRIPT ;MyCustomTranquilityScript1 Begin OnAdd player if ( Player.GetEquipped MQ04RollingPin == 1 ) Player.UnequipItem MQ04RollingPin 1 0 if ( Player.GetEquipped MQ04SlasherKnife == 1 ) Player.UnequipItem MQ04SlasherKnife 1 0 endif player.equipitem 11Knife 1 0 End Link to comment Share on other sites More sharing options...
TGBlank Posted June 7, 2009 Share Posted June 7, 2009 You're missing an endif, see this thread, last post, because i'm too lazy to re-post it. http://thenexusforums.com/index.php?showtopic=127439 Link to comment Share on other sites More sharing options...
Lucidx Posted June 7, 2009 Author Share Posted June 7, 2009 ohhh thanks for the help!:) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.