Multiple corpses

Tom Jones

N/A
Reaction score
437
Try this:
Code:
Unit - Create a Footman corpse for Player 1 (Red) at (Center of (Playable map area))
*Edit*
The trigger would look like this:
Code:
Some Trigger
    Events
        Unit - A unit Dies
    Conditions
    *Add conditions here if you want*
    Actions
        Set temploc = (Position of (Triggering unit))
        For each (Integer A) from 1 to *How many corpses you want*, do (Actions)
            Loop - Actions
                Unit - Create a *Some Unit* corpse for (Owner of (Triggering unit)) at temploc
        Custom script:   call RemoveLocation(udg_temploc)
 

kiren17

New Member
Reaction score
2
could i do this? "said type of unit" and the creation of corpses would be changed for each type of unit in my map that i need right???

also whats the custom script for??
 

Zeromatter

New Member
Reaction score
20
Instead of *Some Unit* you could use "Unit type of dying unit"

And the custom scrip removes leaks.
 

kiren17

New Member
Reaction score
2
would this be good?
Code:
Multi Corpses
    Events
        Unit - A unit Dies
    Conditions
   unit is equal to *my unit*
    Actions
        Set temploc = (Position of (Triggering unit))
        For each (Integer A) from 1 to *my number of corpses*, do (Actions)
            Loop - Actions
                Unit - Create a *triggering unit*(or same as condition) corpse for (Owner of (Triggering unit)) at temploc
        Custom script:   call RemoveLocation(udg_temploc)
 

Tom Jones

N/A
Reaction score
437
Yea, it's good, it'll create x corpses of the unittype of the triggering unit, if the triggering unit is equal to a specific unittype.
 

kiren17

New Member
Reaction score
2
dont all corpses have the same properites???

isnt the only diffrence is the picture... :confused:
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top