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

Spawning Units At A Unit

Status
Not open for further replies.

Spo

Spo

Level 6
Joined
Jun 1, 2009
Messages
122
I am Sorry i ask for so much stuff im just a super noob who wants to make maps the need triggers that i dont know..But i do try to make the triggers that i need but most fail... but i need a trigger that spawns units about 10 at a (flying) unit. Also its for 4 players with the same type of unit.Also about the same thing how do you make it so if you get like 5 kills it changes units that it spawns? I want it to upgrade to a night elve archer.
GOD FUCKING DAMMIT PEOPLE!!!! if you play evloves i want it to be like that OK????
 
Last edited:
Level 3
Joined
Aug 4, 2009
Messages
54
I'm just guessing at what he means here... I take no responsibility for misinterpretations:

but i need a trigger that spawns units at a (flying) unit.
Unit - Create Units Facing Point. You want the "Point" parameter to be filled in as the Position of (Flying Unit). (Which should be done in such a way as to prevent leaks, but that's another lesson for another time.)

Also its for 4 players with the same type of unit.
I can only assume you want one unit to be spawned for each player, in which case...
  • Actions
    • Pick Every Player in (All Players) and do (Actions)
      • Create 1 (Unit) for (Picked Player) at (Position of (Flying Unit) facing (Default Building Angle)
Also about the same thing how do you make it so if you get like 5 kills it changes units that it spawns?
I absolutely cannot answer this without knowing who or what is supposed to be changed by the kills. The spawned units? The flying units? Something else entirely?
 

Spo

Spo

Level 6
Joined
Jun 1, 2009
Messages
122
i tryed it but here the problem
It only spawns units at one of those units.:(
and i need to know how to mkae it so if you get five kills it changes the spawning units
 
Level 3
Joined
Aug 4, 2009
Messages
54
Here's the problem: You aren't making any sense.

You've got so many ambiguous words and phrases in your query that we can only guess at what you really need. Speak more clearly and be specific. Set a little background information (names and purposes of units, a description of what you want done, etc), and maybe we'll be able to help you.

And I still cannot answer your "five kills" question because it's the same question you asked in the first post.
 
Level 20
Joined
Oct 21, 2006
Messages
3,230
He wants to spawn units at the position of each "unit". There are 4 players and each player has one of these "units". "Units" spawn units around them based on the kills of the player. Level/type of the spawned units increase after five kills, invidiuiausuayhalally(something) for every player.
 
please dont complain if no one answers your problem because WE CANNOT UNDERSTAND YOUR PROBLEM, that's why they are all asking you to clarify your problem, can't you understand that??????

From what I understood:
  • Set group = Pick every unit in (playable map area) matching UnitType of Matching Unit = (flying unit)
  • Unit Group - Pick every unit in group and do actions
    • Actions
      • Set UnitPosition = Position of Picked Unit
      • Create 10 UNITS for OwnerOfPickedUnit at UnitPosition Facing XX //UNIT is a unittype variable(GUI)
      • custom script: call RemoveLocation(udg_UnitPosition)
    • custom script: call DestroyGroup(udg_group)
you can set the value of UNIT to a certain unittype at the initialization trigger then create another trigger that will set the value of UNIT when the player reaches a certain kill number

  • Events
    • Unit - A unit dies
  • Conditions
    • UnitType or (Killing Unit) equal to (flying unit)
  • Actions
    • Set kills[Player Number of (OwnerOfKillingUnit)]
    • If kills[Player Number of (OwnerOfKillingUnit)] then do Set UNIT = (new unit type)]
I HOPE YOU UNDERSTOOD.....
 
Status
Not open for further replies.
Top