Jump to content

[LE] Package / procedure "UseMagic" not working with dragons?


staalo18

Recommended Posts

Hi,

 

does anybody know how to get a dragon cast a spell?

 

I have tried to use the "UseMagic" package template, as well as defining my own package via the "UseMagic" procedure.

 

I won't get the dragon to cast the spell that I have defined in the package. I've made sure the dragon knows the spell (it's in his spell list). The spell is a "Fire&Forget", delivery "Self" (I've also tried "Aimed"). I've tried various spell types (Lesser Power, Power, Spell, Voice Power, Ability), and equip types ("NONE", "Either Hand", "Voice"), but none will work.

 

In the package, I chose "Self" with radius 500 as location, as target I used "Self" (and "PlayerRef" when I tried an "Aimed" spell), various cast and cool down times, and have set NumToCastMin and NumToCastMax to 1 each.

 

I am sure the package is active when I am testing this. The UseMagic procedure will not complete, but no spell is cast.

 

BTW, I have the same challenge with the "Shout" procedure as well - this also will not trigger the dragon to shout.

 

Any help is appreciated.

 

Staalo

Link to comment
Share on other sites

I use a Shout Procedure since dragons do shouts. Never attempted UseMagic and I suspect that wont work for dragons as you would hope

 

The firebreath spell I have on AI cast for a dragon is configured as below

 

Voice Power / Concentration / Aimed / Either Hand / Zero Charge Time / 2.4 Second Cast Duration / None of the check boxes on the left were necessary

 

 

Package details

 

Location I used Single Ref Self

Shout is ofc obvious - No Word needed but you do ofc need a shout with the above spell attached to it - They dont need to actually have that shout btw to AI Cast it

Target I use an Object List target which we scan/find just above this in the pack and you likely could use Player etc too

HoldWhen Blocked No

JustHeadTrack Yes

 

Mine is a summoned drake that is always perched on a summoned rock and needs LOS in front of him to use it - Some flags above may or may not matter for you so modify as needed

Link to comment
Share on other sites

Thanks for the quick reply. I tried using the Shout procedure as you described, but unfortunately it still does not work (BTW, if I do not attach a Word to the spell, the game CDTs. It also CDTs in that case if I add the Shout to the player, and then try to unlock it by spending a soul.)

 

Here's my detailed setup:

 

Package:

  • Sequence
  • Procedure Shout
  • Location: Near Editor, radius 500
  • Shout: 'MyCustomShout'
  • Target: Player Ref
  • HoldWhenBlocked: False
  • JustHeadTrack: True

Shout - 'MyCustomShout'

  • Word1 - Word: 'WordDragonFire01' ; Spell: 'MyCustomSpell' ; Recovery Time: 1.0
  • Word2 - NONE, NONE, 0.0
  • Word3 - NONE, NONE, 0.0

Spell - 'MyCustomSpell'

  • Tyoe: Voice Power
  • Casting: Concentration
  • Delivery: Aimed
  • Menu Display Object: NONE
  • Equip Type: EitherHand
  • Casting Perk: NONE
  • No check boxes checked (just Auto-Calculate is on)
  • Effects: 'MyCustomEffects'

Effect - 'MyCustomEffect'

  • Effect Archetype: Script
  • Casting Type: Concentration
  • Delivery: Aimed
  • Magic Skill: NONE
  • Minimum Skill Level: 0
  • Assoc. Item1: NONE
  • Resist Value: NONE
  • Perk to apply: NONE
  • All numbers: 0.0
  • Active flags: Recover, No Area
  • Some visual and sound effects
  • Everything else - no changes to the defaults
Link to comment
Share on other sites

AI packs can be weird if certain settings arent there. Pull up a dragon breath effect like VoiceFireBreathEffect1. Reproduce what its doing on yours just to test. Def not using any word powers on my shout, so no idea why youd be getting ctd. You said you are leaving spell 2 and 3 blank though. Even if same spell and CD just fill those in. CD shouldnt matter but I have all three on five seconds

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...