• 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] How to disable whosyourdaddy in a campaign map?

Status
Not open for further replies.
Level 31
Joined
Aug 29, 2012
Messages
1,402
You can put, let's say two towers attacking each other in a unreachable corner of every map. These towers should not be able to destroy each other under normal game conditions (for instance 100 health, 20 damage and a 100 hp regen per second).

Then, you create a trigger that checks whenever one of these units is destroyed. If they are, it means the player will have used whosyourdaddy (unless you used some trigger that damage every unit of a player or something), and then you can just defeat them or whatever you like.

There are probably other ways, but this should do the job.
 
Level 25
Joined
May 11, 2007
Messages
4,650
You can put, let's say two towers attacking each other in a unreachable corner of every map. These towers should not be able to destroy each other under normal game conditions (for instance 100 health, 20 damage and a 100 hp regen per second).

Then, you create a trigger that checks whenever one of these units is destroyed. If they are, it means the player will have used whosyourdaddy (unless you used some trigger that damage every unit of a player or something), and then you can just defeat them or whatever you like.

There are probably other ways, but this should do the job.
Won't this spam "YOUR TOWN IS UNDER ATTACK!" messages?
 
Status
Not open for further replies.
Top