• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Trigger Question!

Status
Not open for further replies.
Level 6
Joined
Mar 15, 2005
Messages
112
Untitled Trigger 001
Events
Conditions
Actions
Player - Set name of Player 1 (Red) to ((Name of Player 1 (Red)) + ( ( + ((Name of (Last created unit)) + ))))

The extra + is + ) so you can have Player name + ( + Unit name + )
4 concentrated strings. With last created unit run this action after you create the unit that you want your name to have.
 
Level 30
Joined
Dec 6, 2007
Messages
2,228
Got it. Give me 1 minute.
Thats it.

  • Tavern1
  • Events
    • Unit - Tavern 1 <gen> Sells a Unit.
  • Conditions
  • Actions
    • Player - Set name of (Owner of (Buying Unit)) to ((Name of (Owner of (Buying unit))) + (( + ((Name of (Sold Unit)) + ))))
This works.
Make a trigger for each tavern, and use the specific tavern for your action.
 
Status
Not open for further replies.
Top