• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Autocast spellbook ability

Status
Not open for further replies.
Level 1
Joined
Nov 3, 2019
Messages
1
Hello everyone!

Is there any way to make unit autocast spell from the spellbook that he has?

Spellbook must be hidden (locked).
I tried to give an order "flamingarrows" for this unit, but nothing happens.

Then I unlock spellbook and use force player hotkey press to open the spellbook, but when I force flaming arrows hotkey unit takes an order "flamingarrowstarg" - not autocast.

Now I have no idea how can I make unit autocast flaming arrows in hidden spellbook.
Hope, solution exists.

But anyway, Thaks everyone for any information!
 
Level 45
Joined
Feb 27, 2007
Messages
5,578
Not that I am aware of, no. Autocast cannot be enabled on spells within spellbooks. You will need to trigger the effect entirely with a DDS like Damage Engine 5.4.2.3. You can then use the new field setting actions to change the unit's projectile art if that's necessary for what you're trying to achieve. It would looks something like:
  • Unit - Set Unit: (Triggering unit)'s Weapon String Field: Attack Projectile Art ('ua1m')at Index:0 to Value: Model/Path/Here.mdl
 
Status
Not open for further replies.
Top