- Joined
- Dec 6, 2006
- Messages
- 72
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)
Get The Updated System Here: View attachment Injury System v1.02.w3x
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)
JASS:
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
JASS:
Implementation
Copy the Custom Header of this map
It includes
Vexorian's CS_Cache
and
Emjlr3's Attack Detect System
First should be the cs_cache
under that the attack detect system
*****NOTE BEFORE SAVING YOUR MAP YOU MUST CREATE A VARIABLE CALLED cscache (case sensitive, must all be lowercased) it is a game cache and has no array
*****NOT Following this rule MAY make your map CRASH
______________________________________________
--Total Variables Used:-- (this is including the Injury System)
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 --
______________________________________________
******To Implement This Into Your Map The Easy Way Just Copy The Whole Injury System Folder and Paste It Into Your Triggers*****
Other Wise...
--Required Triggers:--
-Preload Trigger
-Pick Every Unit Trigger
-Show Blood Effect Trigger
-Remove Unit If Healed Trigger
-Blood on Dmg Trigger
Get The Updated System Here: View attachment Injury System v1.02.w3x
Last edited by a moderator: