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

Tabs in Buildings

Status
Not open for further replies.
Level 2
Joined
Mar 5, 2008
Messages
17
Hi,

so my problem is that i need a kind of Tab (sry im not into all terms yet) like when you click on a Peon u see Skills Like Build, Patrol, Stop etc. and then you can click on Build and a Window with a new index appears. And i want to use this for a Hero Tavern -> Tab for Str, Int and Agi.

(Sry 4 bad english)

Because i dont know the term i couldnt search for this.

So it would be nice if someone can tell me how to get these "Tabs" for shops or a link to such a thread. Thank you
 
Level 16
Joined
Jul 21, 2008
Messages
1,121
You make it very simple. Almost without triggers.

1. Create 3 taverns (1 Str, 1 Agi, 1 Int)
2. Create 3 Robo goblin abilities
Str - Agi
Agi - Int
Int - Str
3. Add abilities in taverns
4. Copy this trigger to your map
  • Tavern Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 12, do (Actions)
        • Loop - Actions
          • Player - Make Neutral Passive treat (Player((Integer A))) as an Ally with shared vision and full shared units

Now players will be able to cast robo-goblin abilities (''Open'' different ''Tabs'').
 
Level 2
Joined
Mar 5, 2008
Messages
17
First of all - Thank you for the answers so far.
I think Spellbook is the right thing.

{EDIT}
So now i got a Tavern with 3 skills:
Spellbook called Buy Int-Hero
Spellbook called Buy Agi-Hero
Spellbook called Buy Str-Hero

Now how can i insert Heros to this "Spellbooks"?
 
Last edited by a moderator:
Status
Not open for further replies.
Top