• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Solved] Making Floating Text Damage

Status
Not open for further replies.
U can easily use damage engine by bribe and there is some way with triggers:
1 trugger init
map init
pick everyunitinplayeablemaparea
add event to trigger "2 damage text" picked unit takes damage
triger 3 unit enters map
event- unit enters playeable map area
action- add event to trigger "2 damage text" triggering unit takes damage.
2 damage text
u you have added event with triggers and do action
floating text create floting text with message : event response - damage taken
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
@ap0calypse:
I doesn't know how to setting it....
Copy the categories "Damage Engine" and "Requirements" into your map.
If you do that, the system will already be set up correctly (you don't need to change anything).

Now you need to create that trigger that creates the floating text.
This event will run when damage is detected:
  • Events
    • Game - DamageEvent becomes Equal to 1.00
The variable "DamageEventAmount" contains the amount of damage dealt.
With that information, you can manually make the trigger :).

A demo-map attached. It works if you simply copy/paste the triggers (as long as the variables are automatically created).
It can serve as an example (if you're stuck with the trigger).
I would love it if you succeeded in creating the trigger yourself :D.
 

Attachments

  • Damage Engine demo.w3x
    28.4 KB · Views: 160
Level 13
Joined
Aug 4, 2012
Messages
1,022
Copy the categories "Damage Engine" and "Requirements" into your map.
If you do that, the system will already be set up correctly (you don't need to change anything).

Now you need to create that trigger that creates the floating text.
This event will run when damage is detected:
  • Events
    • Game - DamageEvent becomes Equal to 1.00
The variable "DamageEventAmount" contains the amount of damage dealt.
With that information, you can manually make the trigger :).

A demo-map attached. It works if you simply copy/paste the triggers (as long as the variables are automatically created).
It can serve as an example (if you're stuck with the trigger).
I would love it if you succeeded in creating the trigger yourself :D.

TQ your my hero :3 :3
 
Status
Not open for further replies.
Top