FoxiShandris Posted April 19, 2015 Share Posted April 19, 2015 I'm working on a mod that adds a functional healing gun to heal NPCs that are hit by the projectile and, in borrowing the script for the Medical Eyebots from Lonesome Road, have got everything nailed down except for one thing... The weapon I attached the ammunition to does no damage, successfully heals the target, but also makes them hostile. I'm looking for a way to make it so they won't turn hostile when hit with the projectile. Can anyone help? Here's the script so far: SCN NVDLC04HealUlyssesSCRIPT;Heals Ulysses when he is hit by a projectile;DM 3/21/11BEGIN ScriptEffectStart RestoreActorValue PerceptionCondition 100; RestoreActorValue EnduranceCondition 100; RestoreActorValue LeftAttackCondition 100; RestoreActorValue RightAttackCondition 100; RestoreActorValue LeftMobilityCondition 100; RestoreActorValue RightMobilityCondition 100; RestoreActorValue Health 25;ENDBEGIN ScriptEffectUpdate RestoreActorValue PerceptionCondition 100; RestoreActorValue EnduranceCondition 100; RestoreActorValue LeftAttackCondition 100; RestoreActorValue RightAttackCondition 100; RestoreActorValue LeftMobilityCondition 100; RestoreActorValue RightMobilityCondition 100; RestoreActorValue Health 25;ENDBEGIN ScriptEffectFinish RestoreActorValue PerceptionCondition 100; RestoreActorValue EnduranceCondition 100; RestoreActorValue LeftAttackCondition 100; RestoreActorValue RightAttackCondition 100; RestoreActorValue LeftMobilityCondition 100; RestoreActorValue RightMobilityCondition 100; RestoreActorValue Health 25;END Link to comment Share on other sites More sharing options...
TheBlob2 Posted April 19, 2015 Share Posted April 19, 2015 check the weapon as "minor crime" Link to comment Share on other sites More sharing options...
FoxiShandris Posted April 19, 2015 Author Share Posted April 19, 2015 check the weapon as "minor crime"I already tried that. Link to comment Share on other sites More sharing options...
TheBlob2 Posted April 19, 2015 Share Posted April 19, 2015 check the weapon as "minor crime"I already tried that.open this mod up in NVedit and see how it works:http://www.nexusmods.com/newvegas/mods/43351/? Link to comment Share on other sites More sharing options...
FoxiShandris Posted April 19, 2015 Author Share Posted April 19, 2015 check the weapon as "minor crime"I already tried that.open this mod up in NVedit and see how it works:http://www.nexusmods.com/newvegas/mods/43351/? I have more experience with the G.E.C.K. than I do with FNVEdit, but I'll give it a try. Link to comment Share on other sites More sharing options...
DopeChuck Posted April 22, 2015 Share Posted April 22, 2015 So, just to be clear, the problem you're experiencing is that when the NPC is hit with the projectile, they become hostile towards the Player? Link to comment Share on other sites More sharing options...
Recommended Posts