• 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.

Construction Spellbooks

Status
Not open for further replies.
Level 8
Joined
Nov 29, 2007
Messages
371
Just a quick question: Can you build units from a spellbook somehow?
I don't mean summoning units, just building them.

Draz

P.S. I saw this thread, but the spellbook question was not answered explicitly.

EDIT: should say training units, like a barracks or something
 
Last edited:
Yes, its possible, but only 1 unit is possible, through the Build Tiny Great Hall ability. Also, you can use a trigger.
  • Build
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Build
    • Actions
      • Set TempLocA = (Target point of ability being cast)
      • Unit - Create 1 Farm for (Owner of (Triggering unit)) at TempLocA facing Default building facing degrees
      • Unit - Set (Last created unit) construction progress to 5%
      • Custom script: call RemoveLocation(udg_TempLocA)
 
Level 8
Joined
Nov 29, 2007
Messages
371
So what would that do? Produce a 5% constructed unit?

What I really wanted was to just use the spellbook like an expansion of the training menu in a normal barracks type building.
I never saw that set construction progress bj before, that might come in handy.
So thanks anyway.

Draz

P.S. I decided to use a different system in my map, it basically involves producing an invisible building unit next to the mother unit and then putting an ability on the mother unit to swap selection to the building, so it seems like there is an extra training menu.

EDIT: plus rep for providing some useful info
 
Level 8
Joined
Nov 29, 2007
Messages
371
What doesn't work?

[this will probs be my last post of the night, I'll post again tommorow.]

EDIT: Can a mod please chuck this thread in solved problems or something. I believe [after some tinkering] that it is impossible to do what I wanted to do with a spellbook. Thanks
 
Last edited:
Status
Not open for further replies.
Top