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

Player number of a unit's owner?

Status
Not open for further replies.
Level 1
Joined
Mar 26, 2013
Messages
1
What event happens when construction is cancelled?

How do you get the player number of a unit's owner? Owner of(triggering unit) obviously returns something else. It looks like this functionality existed in WCIII but where the hell is it in SCII?! This is insane. :goblin_cry:

EDIT: Never mind, Owner of() does return the player number. The trigger I attached it to just wasn't firing. So here's my new question: How do you make a trigger fire when you cancel construction? What event does it generate? Unit Dies doesn't work, Unit Is Being Removed doesn't work, Unit Issued Order - cancel doesn't work...

EDIT2: It's Unit Consruction Progress - Cancelled. My name is true. Ignore this whole thread.
 
Last edited:
Status
Not open for further replies.
Top