IfIHadARocketLauncher Posted July 8, 2009 Share Posted July 8, 2009 I'm working on an NPC Mod. For the Mod, the character starts out injured, and near death. As such, they are not lucid enough for conversation the first time around. (Although the PC can inspect their wounds, say they are going to get help or leave them to die). Upon being healed, they'll be able to have a more telling conversation, and hopefully join up with the PC. What would the appropriate coding be for them to 'fire' a dialogue after the player heals them? I apologize if I overlooked this variable somewhere. Thank you kindly, El. Link to comment
Kaeloree Posted July 8, 2009 Share Posted July 8, 2009 If they've got very little health, you could always do something like HPPercentGT(10). Link to comment
IfIHadARocketLauncher Posted July 8, 2009 Author Share Posted July 8, 2009 If they've got very little health, you could always do something like HPPercentGT(10). Thanks very much! And I'm surprised it was such a speedy response. I appreciate it. :3 Link to comment
Ardanis Posted July 9, 2009 Share Posted July 9, 2009 You can also use OR(6) SpellCastOnMe([PC],CLERIC_CURE_LIGHT_WOUNDS) SpellCastOnMe([PC],CLERIC_CURE_MEDIUM_WOUNDS) ... SpellCastOnMe([PC],CLERIC_HEAL) Yakman in Watcher's Keep also reacts to being Healed. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.