TheProphet Posted August 14, 2005 Share Posted August 14, 2005 Okay I want to make the npc when he gets to the planet Korderon to appear as though he had 1 health point. You konw the animation they do when they are low health, where they slouch and hold their bodies. I need that effect, and if it is possible without actually damaging the player. Thanks -Gsccc Link to comment Share on other sites More sharing options...
darkwarrior Posted August 14, 2005 Share Posted August 14, 2005 Won't EffectDeath work? It worked for my Sion. ApplyEffectToObject(2, EffectDeath(0, 1, 0), oDarthSion, 0.0)); The only problem here is, I set Sion to minimum 1 HP (I think) so the minions die where he lives (though they have 9hp minimum in the same slot...). You can't do that for the PC utc. Link to comment Share on other sites More sharing options...
darkwarrior Posted August 14, 2005 Share Posted August 14, 2005 How about http://www.nwnlexicon.com/compiled/function.effecttemporaryhitpoints.html Link to comment Share on other sites More sharing options...
stoffe Posted August 15, 2005 Share Posted August 15, 2005 Okay I want to make the npc when he gets to the planet Korderon to appear as though he had 1 health point. You konw the animation they do when they are low health, where they slouch and hold their bodies. I need that effect, and if it is possible without actually damaging the player. If the NPC in question is just standing still, you could use the command... AssignCommand(GetObjectByTag("InjuredNPC"), PlayAnimation(10008, 1.0, -1.0)); ...if you spawn the NPC with a script. Or put it in their OnSpawn event script if it is unique without the AssignCommand part. That should make them play their Standing Injured animation. Won't work too well if the NPC is supposed to move around arbitrarily while still looking injured though. Then the easiest way is probably to damage them enough to make them switch to the Injured animation set, and disable their health regeneration. Link to comment Share on other sites More sharing options...
TheProphet Posted August 15, 2005 Author Share Posted August 15, 2005 Will that also work iwth GetFirstPC? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.