Hammerwatch Forum

Custom mapping and Mods => Editor Discussion => Topic started by: TheFreshPrince on August 17, 2014, 09:57:32 AM

Title: Changedoodadstate Specific
Post by: TheFreshPrince on August 17, 2014, 09:57:32 AM
I am trying to make a lever which will have an animation (lever moves) when activated. I have used Changedoodadstate on it but it will not work. I have used Changedoodadstate on buttons before which have worked so is it possible for the lever to change state?

Also I am wondering if there is a way that you have to hit the lever for it to activate - I have tryed connecting a Objecteventtrigger with "hit" set to a lever but that doesn't work either.  :o
Thank you.
Title: Re: Changedoodadstate Specific
Post by: Hipshot on August 18, 2014, 11:14:37 AM
There's some kind of physics bug in the game, so sometimes (most times) you can't hit things like these from above.

Also, use the state "right" on hit, then it works =)
Title: Re: Changedoodadstate Specific
Post by: TheFreshPrince on August 21, 2014, 09:41:19 AM
Thank it works now  ;D