Death animation not playing, Instead unit just disappears when killed?

LMillz

New Member
Reaction score
0
I am making a very unique maze map and i have it triggered so that when a unit steps on a certain type of terrain, it kills the unit (Kinda i think, i might need some help finalizing that) and i also have it triggered so that when a unit steps on certain foot switch it kills him as well (again might need help finalizing). but whenever the unit steps on the foot switch or on the designated terrain type it does kill him, but all it does is make him disappear. I want the unit to do their death animation upon death. Any ideas? ask for more info
 

Ryushi

"I will stand, or I will fall. I will not sit."
Reaction score
59
Are you sure you are killing the units, and not simply removing them? If you are, upload the map so that we can take a better look at the problem.
 

draist

Active Member
Reaction score
1
Have you created a region at the terrain that's supposed to kill the unit?
I guess this should work:

Trigger:
  • Deadly Terrain
    • Events
      • Unit - A unit enters (your region)
    • Conditions
      • (Unit-type of (Entering unit)) Equal to your unit
    • Actions
      • Unit - Kill (Entering unit)
      • Animation - Play (Entering unit)'s death animation
 

LMillz

New Member
Reaction score
0
the said triggers are:
Grassy Dirt
Events
Time - Every 0.10 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in Heroes and do (Actions)
Loop - Actions
If ((Terrain type at (Position of (Picked unit))) Equal to Sunken Ruins - Grassy Dirt) then do (Unit - Kill (Picked unit)) else do (Do nothing)

Foot Switch Beginning
Events
Unit - A unit enters Foot Switch 1 <gen>
Unit - A unit enters Foot Switch 2 <gen>
Unit - A unit enters Foot Switch 3 <gen>
Unit - A unit enters Foot Switch 4 <gen>
Unit - A unit enters Foot Switch 5 <gen>
Unit - A unit enters Foot Switch 6 <gen>
Unit - A unit enters Foot Switch 7 <gen>
Unit - A unit enters Foot Switch 8 <gen>
Conditions
Actions
Unit - Kill (Triggering unit)

in other words look at this map and you will know how i want it setup(set all players to computer easy except yourself)

View attachment JungleLabyrinthv2.00c.w3x

I'm trying not to use regions, the way i originally had it set up i thought was flawless:
Bad
Events
Time - Every 0.50 seconds of game time
Conditions
(Terrain type at (Position of (Triggering unit))) Equal to Sunken Ruins - Grassy Dirt
Actions
Unit - Kill (Triggering unit)

But this or any similar to this wouldnt kill the unit.

The first two do end up killing te unit but they wont do a death animation, they just vanish.
 

Weep

Godspeed to the sound of the pounding
Reaction score
400
I can't open your map. Are you using any custom GUI functions (eg. JNGP's USMWE?)

Anyway, check if your heroes' Art - Death Time field is long enough.
 

LMillz

New Member
Reaction score
0
It's not my map. Its a map i found that uses exactly what im trying to do. I meant to open it in a custom game. Not in world editor

And its the same heroes. I havent messed with the objects themselves.
 

draist

Active Member
Reaction score
1
Well, you kinda need to post your map if you want us to help you. We're not gonna "steal" your map or anything, just look at yout triggers.
 

Weep

Godspeed to the sound of the pounding
Reaction score
400
It's not any of the triggers you posted above; it's your respawn trigger. You're reviving the heroes instantly upon death, so there's no chance for them to play a death animation. You could simply put a 2 second wait before the "Instantly revive" action.
 

LMillz

New Member
Reaction score
0
See i thought that was it but how do you put the wait?
also i need to know how to make it so that a trigger can only happen once.
 

KaerfNomekop

Swim, fishies. Swim through the veil of steel.
Reaction score
613
1. Place a Wait 2.00 seconds action at the start of the trigger. Easy.

2. Place the action Trigger - Turn Off (This trigger) at the beginning of the actions. The actions will continue to run, but the trigger won't fire again.
 

LMillz

New Member
Reaction score
0
Yeah i just figured that out, but the turn off this trigger has to be at the end of the actions. i noticed that cheats work in my map. how do i take them out? i have already tried
event: player x types "(whatever cheat)"
condition:
action: do nothing

i have also made the cheat cancel itself out, and do the opposite but none of it works
 

skyblader

You're living only because it's illegal killing.
Reaction score
159
If I'm not wrong, it's hardcoded. You can't disable the cheats or do the opposite, the event won't even fire. Probably because if you type a cheat, the text that really comes out is "cheat enabled!" You can disable single player, though.
 

GFreak45

I didnt slap you, i high 5'd your face.
Reaction score
130
all of the cheats are disabled by retyping them, im not sure since i havent done much string/chat triggering but i believe u can force them to use the same string immediately afterwards, disabling the cheat again? i know an rpg map that has cheats disabled so its useable in multiplayer, just says... you cant cheat in this game, or something to that effect... its DI2 RPG, one of the top rated rpgs on hiveworkshop.com
 

HydraRancher

Truth begins in lies
Reaction score
197
all of the cheats are disabled by retyping them, im not sure since i havent done much string/chat triggering but i believe u can force them to use the same string immediately afterwards, disabling the cheat again? i know an rpg map that has cheats disabled so its useable in multiplayer, just says... you cant cheat in this game, or something to that effect... its DI2 RPG, one of the top rated rpgs on hiveworkshop.com

It's much more efficient to disable single player. There is no restrictions to using LAN. Also, if you type greedisgood 500000, then if you force the player to retype it then you'll just give them 1 million.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Monovertex Monovertex:
    How are you all? :D
    +1
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though

      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