Help understand issue with Courage.Cast()

Post » Fri Nov 16, 2012 2:19 pm

I'm having an animal cast courage on itself, but it doesn't work. Here are my results:

Courage.Cast(game.GetPlayer(),Self) ;works
Courage.Cast(self, game.GetPlayer()) ;works
Courage.Cast(Self,Self) ;doesn't work

From what I read on the wiki for http://www.creationkit.com/Cast_-_Spell, even a rock can cast a spell, so I'm not sure why this doesn't work.

Thanks for any insight.
User avatar
April D. F
 
Posts: 3346
Joined: Wed Mar 21, 2007 8:41 pm

Post » Fri Nov 16, 2012 9:28 pm

Why don't you make the closest object to the animal cast the spell instead?

EDIT: ops! I forgot to give the explanation. Courage delivery method is not on self, but on target. If you want to make a NPC cast a spell on self you need to use one with that delivery method. You could do make another object cast the spell or make a copy of courage with a self delivery method.
User avatar
Tom Flanagan
 
Posts: 3522
Joined: Sat Jul 21, 2007 1:51 am

Post » Fri Nov 16, 2012 6:19 pm

Why don't you make the closest object to the animal cast the spell instead?
I could do that, it would be easy enough, but I really wanted to understand why this is a problem. I'm not sure if there is some small print that I'm missing (besides the one that says if Sollar's doing it, don't work right.)
User avatar
Isabel Ruiz
 
Posts: 3447
Joined: Sat Nov 04, 2006 4:39 am

Post » Fri Nov 16, 2012 10:44 am

Maybe you need to create your own custom Courage effect with a delivery type of 'Self' ? I've not tried, but I have a feeling maybe actors can't cast 'Aimed' spells on themselves in this way.
User avatar
Queen
 
Posts: 3480
Joined: Fri Dec 29, 2006 1:00 pm

Post » Fri Nov 16, 2012 7:33 pm

Maybe you need to create your own custom Courage effect with a delivery type of 'Self' ? I've not tried, but I have a feeling maybe actors can't cast 'Aimed' spells on themselves in this way.

This is 100% correct.

Alternatively, simply set the animal's Confidence actor value to 3 or 4.
User avatar
Lisha Boo
 
Posts: 3378
Joined: Fri Aug 18, 2006 2:56 pm

Post » Fri Nov 16, 2012 8:32 pm

Thanks Darkon & AstralFire!

... I have a feeling maybe actors can't cast 'Aimed' spells on themselves in this way.
Ahh, thank you! That makes sense. I hadn't realized spells worked that way... glad I asked, as this is my first of several spells to be casting.

Alternatively, simply set the animal's Confidence actor value to 3 or 4.

Courage actually does a little more than that, plus I like the visual affect. So I'll either make a custom courage spell, or have a nearby rock cast the spell :wink:
User avatar
Shannon Marie Jones
 
Posts: 3391
Joined: Sun Nov 12, 2006 3:19 pm


Return to V - Skyrim