Hello,
In the GECK recently I added a command to a very basic NPC follower called SetPlayerTeammate 1. I made it so the NPC can crouch when I do and I also get experience for when he/they get kill something.
I have the command put in all of the result scripts in the Begin/End/Change tab in their follow package.
There is one problem, I went in game and they could not be killed. I would shoot at them and their health would automatically reset to 710 (What I set it as) once it went down far enough. I also tried setessential xx00e585 0 and even the Kill command in the console and no luck. I looked in the NPC's base stats and the only thing ticked was no knockdowns. ESSENTIAL IS UNTICKED. I eventually tried unticking "No Knockdowns" and the result was once the NPC's health went down, it made the NPC unconscious but I still gained infamy with the reputation and also I don't think he got back up. I also could not loot him for it continued to display the message "US Soldier is unconscious".
I want the NPC's to be powerful, not immortal. ![]()
So should I remove the SetPlayerTeammate 1 thing? and should I make it a proper script?
PLEASE HELP! ![]()
Thanks ![]()
EDIT
I took the command SetPlayerTeammate 1 out of the Begin/End/Change result scripts and it worked but I still need the NPC's to crouch when I do and give me exp when they kill something.
![]()
Like I said, should I make a script that runs when they spawn that has the SetPlayerTeammate 1 Command? What would that script look like?
ANOTHER EDIT!
I went in-game and the command itself makes the NPC (when he loses all of his health) unconscious even when I just used the console. ![]()
HOW CAN I MAKE THIS WORK!!!
Edited by DrPepper715, 24 August 2013 - 06:05 PM.



Sign In
Create Account

Back to top









