Jump to content

Quick Question


Lucidx

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...