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

Make specific events when something happens for players.

Greetings everyone! In this "small" tutorial i'll learn you something that it will be very useful for your maps.

Difficulty: [ 2.5/10 ] ( Easy and useful )

TIP: " blablalba" means in a part " you type something here..whatever "
TIP: I've put a string screenshot to help you at the Text.

Lets get started!
If you have a map with heroes or something like that , when something happens ( Dying in this tutorial ) you want to make an action like "
  • Action Say
    • Events
      • Unit - A unit Dies
    • Conditions
    • Actions
      • Game - Display to (All players) the text: A hero has died. He will be revived in some seconds.
".
Conclusion: Very bad. It makes people think that author of the map is a noob or beginner. Follow the next steps and you'll see something that will makes you feel different.

Well , I think you want something like ( I give an example ) a player dies. His name of his hero is Paladin. He will be blablabla..

To make this , the trigger should look like this:

  • Action Say
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Dying Unit) Is a Hero) Equal to True)
    • Actions
      • Game - Display to (All players) the text: ((Name of (Dying unit)) + has died. He will be blablabala)
Well , simplest thing is to edit the " Text " ( ............the text: Blablabla ). When you go to type the text , a window appears. Do NOT click the value to type the text , you'll need to validate " Functions " , and the function needed is the exactly first one ( Concarnate Strings ). Under the concarnate strings will appear " String 1 + String 2 ". Edit string 1 and select a function. Function is : Unit - Unit name. Then will appear like: Name of Triggering Unit. Edit "Triggering Unit " and change it to " Dying Unit ". Then press Ok. Now go to string 2 and type whatever you want , especially " has died. He will blablalba" for dying unit as example.

Thats it! You can use same things for Killing Unit , etc!

Its my pleasure to thank you for reading my tutorial.
Screenshot:
 

Attachments

  • howti.JPG
    howti.JPG
    48.9 KB · Views: 111
Last edited:
Level 3
Joined
Jun 30, 2005
Messages
46
I dont think you need a tutorial for this cos its sooo easy loll and this tutorial aint that good... Cos it will say the hero has die even when just normal creeps die. you need to add in the actions "((Triggering unit) is A Hero) Equal to True".
 
Top