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

[General] Checking for Blight Ownership

Status
Not open for further replies.
Level 3
Joined
May 10, 2007
Messages
40
This point of discussion was touched upon in this thread, unfortunately not in the way in which I am interested in it, and since the thread was closed for replies, I found I had no choice but to create a new one.

As you know, the "Create/Remove Blight ..." triggers let you set ownership of the created blight. But is it possible to use triggers or custom script to check which player a patch of blight belongs to? I am developing a Dungeon Keeper-inspired map, and such a feature could save me much hassle.
Sincerely
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,255
As you know, the "Create/Remove Blight ..." triggers let you set ownership of the created blight. But is it possible to use triggers or custom script to check which player a patch of blight belongs to? I am developing a Dungeon Keeper-inspired map, and such a feature could save me much hassle.
Blight is a terrain vertex flag. As such it has no concept of ownership. One undead player can summon buildings near another undead player on their blight, even if they are enemies to each other.

The reason the trigger action (native) takes an ownership parameter is possibly due to blight protection purposes. Eg certain undead structures emit a blight protection field that prevents the blight from being dispelled as long as the structure exists in the area. You might find that the results of the action vary depending on the nearby presence of such structures and the alliance status of the argument player with them.
 
Status
Not open for further replies.
Top