• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

Medusa-like Mechanics

Status
Not open for further replies.
Level 33
Joined
Mar 27, 2008
Messages
8,035
For those who don't know what is "Medusa", it is an Ancient Mythical creature from Greek Mythology that will turn anything into stone if any creature stares at her (both Medusa and the unit must stare at each other)

Well now enough with introductions, what should I do with the trigger ?
I suppose we should compare angles ? But how ?

What I want is:
- A trigger that able to detect whether a unit is facing at Medusa and Medusa should face the unit at the same time.
- When the Unit faces Medusa and Medusa faces the unit at the same time, the unit is instantly killed.
- The angle adjustment for the stare should be +- 45 degrees since it is nearly impossible for a perfect stare for both units right ? Therefore it should have a range for the stare which is +- 45 degrees.

Can anyone show me a trigger of it ?


EDIT:
Wait I think I found something, will re-open if I don't find the solution.
 
Status
Not open for further replies.
Top