Auto-Inject <MEDCHEM> Script

Post » Sat Apr 12, 2014 2:10 am

I've been trying to change the sub-dermal armor implant to inject Med-X when a limb is crippled. The problem seems to be with the part of the script that actually injects the Med-X.

I'm wondering if I have to check for certain conditions like if hardcoe mode is on?

Right now I'm just checking for Med-X in the inventory:

If ( Player.GetItemCount Morphine > 0 )        ShowMessage ImplantAutoInjectMedX;	Player.EquipItem Morphine 0 1EndIf

Does anyone have experience with this type of thing because the Auto-Inject Stimpak code is pretty much the same, but it checks for hardcoe mode, if the effect is stacking, and combat.

User avatar
Yvonne Gruening
 
Posts: 3503
Joined: Mon Apr 23, 2007 7:31 pm

Return to Fallout: New Vegas