Hero
─║╣ero─
- Reaction score
- 250
Injury System
UPDATED:v.1.02
Updates in v.1.02
-Dead Units do not spark
-Blood Hit trigger added in
-Optimized some of the code
-Added Poll Waits
-Made in [COMPLETE] JASS
UPDATED:v.1.01
-If a Unit If Mechanical the unit will spark and emit electricity
(thanks for that comment)
Injury System V.1.02
A simple injury system that displays a bleeding effect on a unit once it reaches less than 30% health (can be edited)
Found Here: View attachment Injury System v1.02.w3x
Please Give Credits If You Use
UPDATED:v.1.02
Updates in v.1.02
-Dead Units do not spark
-Blood Hit trigger added in
-Optimized some of the code
-Added Poll Waits
-Made in [COMPLETE] JASS
UPDATED:v.1.01
-If a Unit If Mechanical the unit will spark and emit electricity
(thanks for that comment)
Injury System V.1.02
A simple injury system that displays a bleeding effect on a unit once it reaches less than 30% health (can be edited)
Code:
UPDATED:
-If a Unit If Mechanical the unit will spark and emit electricity
---------Requirements----------
V.1.02
******To Implement This Into Your Map The Easy Way Just Copy The Whole Injury System Folder and Paste It Into Your Triggers*****
--Required Triggers:--
-Preload Trigger
-Pick Every Unit Trigger
-Show Blood Effect Trigger
-Remove Unit If Healed Trigger
-Blood on Dmg Trigger
------Required Script in Custom Header------
-Read Implementation Comment
______________________________________________
--Variables Used:--
Name: Type: Array: Size:
Human_BleedEffect String Yes 4
Orc_BleedEffect String Yes 4
Undead_BleedEffect String Yes 4
NightElves_BleedEffect String Yes 4
BleedingGroup Unit Group No --
cscache Game Cache No --
______________________________________________
--Features:--
-Easily Editable by changing some strings for the blood and some small triggers
-Covers the 4 main races
-Should not lag if so preload all the effect strings
-Should not contain leaks
-Shows the blood on a 2 second
-Shows blood type for that specific race (Ex. Orcs will bleed orc blood not human)
-Shows different types of blood effects 4 for each race
-If a Unit If Mechanical the unit will spark and emit electricity
-Easily Editable for different races
-NOW features blood on dmg script...which creates blood depending on the race everytime a unit is damaged
______________________________________________
Ideal For:
Any-map
______________________________________________
Updates In Next Version:
-A Jass Script for this system (ex. call Injury_System (blah blah) )
-Make the whole system 1 Trigger
Credits
-Hero12341234 for the System
-Emjlr3 for the DamDetect_Attacks System
-Vexorian for the CS_Cache
Found Here: View attachment Injury System v1.02.w3x
Please Give Credits If You Use