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

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