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

Speach on press?

Status
Not open for further replies.
Level 9
Joined
Aug 27, 2004
Messages
471
Ok i know how to make it so if you select a unit he talks, but this guy did a really cool thing where he had an ability "talk" and when you press it nothing happens unless ur right next to a unit, i was wondering how you could do this. Also does anyone know how to post a screeny... :oops:
 
Level 22
Joined
May 11, 2004
Messages
2,863
Thats pretty easy. Just make a selection even with a "unit within range" condition and a play sound action. WOuld be something like this.

Event-
(player) selects a unit

Condition-
Triggering unit is eual to (whatever unit)
Unit/Hero is within (distanc) equal to True

Action-
Display text message containing (text)
Play (sound) <---speech

-VGsatomi
 
Status
Not open for further replies.
Top