🏆 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!
🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!
(Level of Double Me Up (Captain) for (Triggering unit)) Greater than 0
Actions
Set Variable Set ZerglingDyingUnit = (Triggering unit)
Set Variable Set ZerglingCounter[(Player number of (Owner of ZerglingDyingUnit))] = (ZerglingCounter[(Player number of (Owner of ZerglingDyingUnit))] + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Supply used by (Unit-type of ZerglingDyingUnit)) / 2) Greater than 0
Then - Actions
Player - Set (Owner of ZerglingDyingUnit) . Food used to (((Owner of ZerglingDyingUnit) Food used) - ((Supply used by (Unit-type of ZerglingDyingUnit)) / 2))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
ZerglingCounter[(Player number of (Owner of ZerglingDyingUnit))] Greater than 1
Then - Actions
Set Variable Set ZerglingCounter[(Player number of (Owner of ZerglingDyingUnit))] = "0"
Player - Set (Owner of ZerglingDyingUnit) . Food used to (((Owner of ZerglingDyingUnit) Food used) - ((Supply used by (Unit-type of ZerglingDyingUnit)) mod 2))
Else - Actions
Marine Sure
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Marine
Actions
Sound - Play SkinkDeath1 <gen> at 100 % volume, attached to (Dying unit)
Ubersplat - Create ubersplat at (Position of (Dying unit)) of type Undead Uber Splat with color ( 100 %, 100 %, 100 %) and 0 % transparency ( Disable paused state, Disable skipping birth time)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.