TheTrueMayhem Posted July 24, 2010 Share Posted July 24, 2010 I'm very new to Oblivion but have made a couple of very basic NPC's. One of them I wish to follow me , offer services (like buying and selling) , follow me and heal me as necessary. I've accomplished everything except the healing part. I used the 'Teach spell' mod and taught her two healing spells , one for herself and another one which I weas hoping she would use on me when needed. It was the 'Lesser Heal Companion' spell but she basically watches me die and doesn't use it. She heals herself though no problems (that's what I call selfish ! lol !) I realize now that there must be some sort of AI package or script or both that's needed to get her to heal me so I was wondering if anyone could either tell me how to accomplish this or to point me in the right direction with a link. I've been searching for tutorials , etc for over an hour but can't find anything related to getting an NPC to automatically cast a healing spell on me. Hope someone can help ! Link to comment Share on other sites More sharing options...
lozor Posted July 24, 2010 Share Posted July 24, 2010 if you use CM companions mod try talking to her and make change her combat style to healer, if not edit her in the cs to make her class healer. Link to comment Share on other sites More sharing options...
TheTrueMayhem Posted July 24, 2010 Author Share Posted July 24, 2010 if you use CM companions mod try talking to her and make change her combat style to healer, if not edit her in the cs to make her class healer. Thanks for replying ! Although I have the CM Companion mod , I just wanted to try and make a simple one of my own with the bare mimimum of functions :-) I didn't realize though that the answer to my problem could be resolved as simply as just changing her class to healer. I told you I was new at this :D Link to comment Share on other sites More sharing options...
lozor Posted July 24, 2010 Share Posted July 24, 2010 tbh, not sure if it acctauly works xD i just presume the vanilla healer class it meant to heal others XD Link to comment Share on other sites More sharing options...
David Brasher Posted July 24, 2010 Share Posted July 24, 2010 Having made a number of NPC companions who are healers, I would say that lozor's advice about the CS will not work, meaning no disrespect to lozor. I do not know if the CM companion mod is set up to automatically make functional healers. I have not investigated that. What you need to do is make a quest with a quest variable, and either some dialog or automatic scripting to trigger the healing. I think you need to give the healer the healing spell, but I suspect that this is not true because the script or result script calls on a particular spell and the healer may not actually have to have it, but just in case, and for the sake of realism, it is good to give the healer a spell. For a vanilla Oblivion example of how to make a healer companion, look at SE14Healer 1, Sheogorath's Court Healer. Look at quest SE14 which contains the dialog with result scripts and the quest script holding the quest variable. Look at SE14HealerScript which is the script the healer has. So what you will need may be: (1) A persistent NPC who is a reference and who has a healing spell.(2) A script on the NPC(3) A quest(4) A script for the quest containing a quest variable.(5) Some dialog in your quest concerning asking to be healed, or alternately, some more code in the script on the NPC to trigger automatic healing. Not a real simple task. But you can do it if you want it bad enough. Link to comment Share on other sites More sharing options...
TheTrueMayhem Posted July 24, 2010 Author Share Posted July 24, 2010 Thanks heaps for all of the info ! I'll have a look at that vanilla healing npc that you mentioned and see how it all works. I'll try and figure out the automatic healing scripting. After having a bit of a go at a simple NPC companion , it makes me realize how complex the proper companion mods are. SO much work !! Link to comment Share on other sites More sharing options...
Recommended Posts