[Trigger] Can dead meats hover?

Status
Not open for further replies.
Level 9
Joined
Jul 1, 2005
Messages
392
hi... doing a spooky map.

I want to make meat pieces in the process of decaying take on a new model/skin and hover/wander about. But slow down the decay. They need to have mana too. But be able to be healed for when they're taken somewhere. Also, I wanted to make them ressurectable. I would say that they would be townfolks, but they can be saved by the heroes if the heroes want to take the time.

I'm not really ready for anything fancy like GUI or Jass. I'm just barely getting aquainted with variables at the moment.
 
You could always try to make them become a unit whose model file is a corpse on death...
You'll NEED GUI and JASS to do this though, as I can't see any other way.

EDIT: Okay, here's a GUI trigger I made, if you want to use it:
  • Thingy
    • Events
      • Unit - A unit Dies
    • Conditions
    • Actions
      • Custom script: local location Loc = GetUnitLoc( GetTriggerUnit() )
      • Custom script: local real face = GetUnitFacing( GetTriggerUnit() )
      • Unit - Remove (Triggering unit) from the game
      • Custom script: call CreateUnitAtLoc( GetOwningPlayer( GetTriggerUnit() ), 'h000', Loc, face)
      • Custom script: call RemoveLocation( Loc )
Just replace 'h000' with the rawcode of your unit

EDITEDIT: I realize that you said that you don't want JASS or GUI, but this is the only way I can see that it'll work >.<
 
Last edited by a moderator:
Status
Not open for further replies.
Back
Top