I've programmed with C/C++ so Im not afraid to get down and dirty with some code I just need some guidance on what I need to look for.
So far I'm thinking that a new AI package which will check for several conditions, i.e player combat or player health percentages. Which will call my script when the script runs it will check Player health percentage and pass it to a float variable. This float will be checked against the comapion spell list and the companion will cast the appropriate spell.
My Question finally being how do I set the player to be the target of a spell, I'm thinking target actor but I dont see any other way besides scripting to narrow down potential targets.
Any and all help would be appreciated.
