• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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 39
Joined
Feb 27, 2007
Messages
5,034
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