Orders within spellbooks?

BarzahdX

Active Member
Reaction score
18
Is there anyway(through GUI or custom script) to order a unit to cast an ability IN a spellbook?

In this particular case, I have Locust swarm inside of a spellbook, I want a trigger that orders my unit to cast locust swarm, even though it's in the spellbook.
 

Galdiuz

Creator of Photon Command
Reaction score
98
It's just like normal:
Code:
Unit - Order (Last created unit) to Undead Crypt Lord - Locust Swarm
 

Nerfpl

New Member
Reaction score
53
if it wont work then try first order him to "cast" spellbook. or use Order String "spellbook"
 

Galdiuz

Creator of Photon Command
Reaction score
98
You can order a unit to cast an ability inside a disabled spellbook using triggers.

@Nerfpl: I don't think that's needed. If you order a unit to cast spellbook and then Locust swarm, it would be the same result as just casting locust swarm.
 

BarzahdX

Active Member
Reaction score
18
Trigger:
  • NotS
    • Events
      • Unit - A unit enters (Playable map area)
    • Conditions
      • (Unit-type of (Entering unit)) Equal to Necropolis of the Scourge
    • Actions
      • Set Hero[0] = (Entering unit)
      • Unit - Order (Entering unit) to Undead Crypt Lord - Locust Swarm
      • Player - Disable Necronic Guard Manual for (Owner of (Entering unit))


From what you said, that trigger should work.. It doesn't.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top