• 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.
  • It's time for the first HD Modeling Contest of 2025. Join the theme discussion for Hive's HD Modeling Contest #7! Click here to post your idea!

[Trigger] Death

Status
Not open for further replies.
Level 16
Joined
Oct 12, 2008
Messages
1,570
  • Melee Initialization
    • Events
      • Unit - A unit Dies
    • Conditions
    • Actions
      • Set TempLoc = (Position of (Triggering Unit))
      • Unit - Create a permanent Fleshy (Unit-type of (Triggering unit)) corpse for (Owner of (Triggering unit)) at TempLoc facing (Facing of (Triggering unit)) degrees
      • Custom script: call RemoveLocation(udg_TempLoc)
Should work, though this instantly creates one, making it look like one corpse is on the ground even before the unit lies on the ground,,
 
Status
Not open for further replies.
Top