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

Help with new project

Status
Not open for further replies.
Level 2
Joined
Oct 6, 2007
Messages
19
Hello, I want to make a game like the one in the campaign (alliance campaign, search for illidan) where Illidan is trapped in a moving cage, I want to make 2 teams who both need to get the cage in a circle of power in the base.

1.How u make it that whenever a hero (from the blue team) comes close to the cage, the cage starts moving in the direction of the circle of pwr from the blue team (the same for the red team.)

2.How u make that creeps autospawn from barracks to the other base?

3.commands like -random to get a random hero (from the tavern)?

4.How u make a scoreboard with the number of herokills from everybody, and that whenever a hero is killed theres a message with: XXX killed XXX. And the first hero kill: XXX draw firstblood +200 gold.

:cq: ty
 
Last edited:
Level 9
Joined
Jun 26, 2007
Messages
659
By using the search tool, you could find all this by yourself... -_-

1
  • Events
    • Unit - A unit comes within (distance) of (the cage)
  • Conditions
    • ((triggering unit) is a hero) equal to true)
  • Actions
    • Unit - Order (the cage) to Move to (ennemi base region)
2
  • Events
    • Time - Every (frequence) seconds of game time
  • Actions
    • Unit - Create 1 (creep unit 1) for (dummy player) at (spawn region) facing ( ) degrees
    • Unit - Order (Last created unit) to Attack-Move to (ennemi base region)
    • Unit - Create 1 (creep unit 2) for (dummy player) at (spawn region) facing ( ) degrees
    • Unit - Order (Last created unit) to Attack-Move to (ennemi base region)
    • etc
3
  • Events
    • Player - Player 1 (Red) types a chat message containing -random as ( )
    • Player - Player 2 etc etc
  • Conditions
  • Actions
    • Unit - Create 1 HeroTypeArray[Random number between 0 and (hero count)] for (Triggering player) at (starting region) facing ( ) degrees
you've got to initialise the HeroTypeArray with the hero type you use.
 
Level 2
Joined
Oct 6, 2007
Messages
19
question 4

And how u make a scoreboard with the number of herokills from everybody, and that whenever a hero is killed theres a message with: XXX killed XXX. And the first hero kill: XXX draw firstblood +200 gold.
 
Status
Not open for further replies.
Top