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

[Trigger] How to show the damage ???

Status
Not open for further replies.
Level 2
Joined
Jul 3, 2007
Messages
8
I want to ask how to do a trigger witch is for all the units in the map....i mean that when i hit another unit and then to show the damage...like it shows the "missing" hits ???? :eekani: I need a pic cuz am a newbie :(
 
Level 10
Joined
Sep 6, 2007
Messages
440
Just make a critical strike ability with %100 chance and x1 multiplier. Then, disable this skill for all players in triggers and add this to whoever you want. You're done. If you want it to show when spells are used, then it has to do with floating text and many variables.
 
Level 4
Joined
Dec 16, 2007
Messages
134
I want to ask how to do a trigger witch is for all the units in the map....i mean that when i hit another unit and then to show the damage...like it shows the "missing" hits ???? :eekani: I need a pic cuz am a newbie :(


  • Untitled Trigger 020
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
        • Loop - Actions
          • Trigger - Add to (This trigger) the event (Unit - (Picked unit) Takes damage)
          • Floating Text - Create floating text that reads (String((Damage taken))) above (Picked unit) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
 
Level 7
Joined
Dec 8, 2005
Messages
319
um h3k241... that trigger wont work... at map intialization as an event... just simple make a generic unit event and make floating text on whether the unit is attacking or if you want to show spell damage... that is a little trickier... but i would suggest DL an rpg spell package... and simply read and learn how to make it... plus if your new to GUI... well you might have a problem with some spellpacks since they are done in jass... but then jass is not that hard to use.
 
Level 3
Joined
Sep 15, 2007
Messages
60
Well I tried copying that thing. And it was in some sort of text not in triggers. and when I copied it from the RPG system pack thing it stood error on my map when I had pasted it, and when trying to save the map.
 
Level 4
Joined
Feb 4, 2008
Messages
82
have you checked the "Automatically create new variables when copying triggers" option in Preferences ?
 
Level 4
Joined
Dec 16, 2007
Messages
134
Here it is 100% WORKING!

  • Untitled Trigger 001
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
        • Loop - Actions
          • Custom script: set bj_wantDestroyGroup = true
          • Trigger - Add to Untitled Trigger 002 <gen> the event (Unit - (Picked unit) Takes damage)
  • Untitled Trigger 002
    • Events
    • Conditions
    • Actions
      • Floating Text - Create floating text that reads (String((Damage taken))) above (Attacked unit) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
 
Last edited:
Level 3
Joined
Sep 15, 2007
Messages
60
This is what happens when I have pasted the damage thing stuff into my map.
 

Attachments

  • namnlös.jpg
    namnlös.jpg
    82.3 KB · Views: 151
Status
Not open for further replies.
Top