staalo18 Posted January 22, 2022 Share Posted January 22, 2022 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 More sharing options...
Sphered Posted January 22, 2022 Share Posted January 22, 2022 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 SelfShout 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 itTarget I use an Object List target which we scan/find just above this in the pack and you likely could use Player etc tooHoldWhen Blocked NoJustHeadTrack 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 More sharing options...
staalo18 Posted January 22, 2022 Author Share Posted January 22, 2022 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:SequenceProcedure ShoutLocation: Near Editor, radius 500Shout: 'MyCustomShout'Target: Player RefHoldWhenBlocked: FalseJustHeadTrack: TrueShout - 'MyCustomShout'Word1 - Word: 'WordDragonFire01' ; Spell: 'MyCustomSpell' ; Recovery Time: 1.0Word2 - NONE, NONE, 0.0Word3 - NONE, NONE, 0.0Spell - 'MyCustomSpell'Tyoe: Voice PowerCasting: ConcentrationDelivery: AimedMenu Display Object: NONEEquip Type: EitherHandCasting Perk: NONENo check boxes checked (just Auto-Calculate is on)Effects: 'MyCustomEffects'Effect - 'MyCustomEffect'Effect Archetype: ScriptCasting Type: ConcentrationDelivery: AimedMagic Skill: NONEMinimum Skill Level: 0Assoc. Item1: NONEResist Value: NONEPerk to apply: NONEAll numbers: 0.0Active flags: Recover, No AreaSome visual and sound effectsEverything else - no changes to the defaults Link to comment Share on other sites More sharing options...
Sphered Posted January 23, 2022 Share Posted January 23, 2022 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 More sharing options...
Recommended Posts