• 🏆 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!

Help on conquest maps........

Status
Not open for further replies.
Level 2
Joined
Mar 15, 2014
Messages
10
How do i make like when you last hit a structure it becomes yours and also your income will increase for taking that structure.(Example:You last hit a lumber mill the lumber mill becomes yours and your lumber income will increase.)
 
  • Events:
    • Unit - A unit dies
  • Conditions:
    • Unit type - Unit type of Dying unit equal to Lumber Mill
  • Actions:
    • Set Point = Position of Dying unit
    • Set Player = Owner of Dying unit
    • Set Real = Facing of Dying unit
    • Unit - Remove Dying unit from the game
    • Unit - Create 1 Lumber Mill for Player at Point facing Real
    • Custom script: call RemoveLocation(udg_Point)
 
Level 4
Joined
Jan 5, 2014
Messages
79
you could also set its owner to the new one and set its HP to max, but whats stated above works perfectly well
 
Status
Not open for further replies.
Top