• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Need help for spawning creeps with Items

Status
Not open for further replies.

Schnabeltiersc

S

Schnabeltiersc

Hi my problem is, I dont want to spawn only one kind of unit with one kind of item, I want to have 10 players with their own different creeps which have no weapons (I removed them) and each kind of creep has different kinds of items that they can buy, the items are all weapons who add to the attachment-points, the player have all their own area for their units.
Example:
player 1:
2 "footmans" with "claws of attack" and an other item
1 "knight" with only one item
player 2:
3 "archer" with a "orb of fire"
and an other unknow unit
player 3:
... etc.
The units must spawn with the right items and the right number.

PS: sry for my english
 
That is fairly easy. Just make a brute force trigger that uses functions like these:

  • Unit - Create 1 Footman for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
  • Hero - Create Tome of Experience and give it to (Last created unit)
There are neater ways to do it but I see no real reason to do them.
 
it isnt what i mean :cry:
I wanted the player to choose the weapons of their units.
The units should spawn in the right number and with the right items.
i dont want to make a very long trigger so I search for an easy way to realize it
 
So the units will come from an item usage?
Well then there need to be a hero carrying the item. Then when used it summons x creeps. Just make a diffrent item for each player which spawns diffrent creeps.
The give all creeps the "Inventory (Hero)" ability. The make a small shop or something which sellt the items you want to be able to buy, if you want specific items for each players, simply make 10 diffrent shops.
If this doesn't do for you, then im sorry, but you will have to use a long trigger...
 
No
the player must buy the weapons for their creeps

creep --trained:fp: spawn for the the allianz
Hero get gold :fp: --creeps by items(weapon) :fp: creeps spawn for the allianz with weapons
 
sry if you dont understand it, if i could write it in german you probably understand it but thx if you wanted to help me:grin:
 
Status
Not open for further replies.
Back
Top