Assigning an animation to a button. Created 17 years ago2006-06-11 11:27:43 UTC by Exos Exos

Created 17 years ago2006-06-11 11:27:43 UTC by Exos Exos

Posted 17 years ago2006-06-11 11:27:43 UTC Post #184729
Okay this is my first real attempt at creating a single player map, and I want to assign an animation to a button. Here is the scenario.

There is a door with a monitor right next to it. The monitor has a "func_button" on it. The door is a prop_dynamic combine door. I want the button, when pressed, to set the animation "Open" for the door. In the outputs tab, there is a "set animation" selection, but I don't know how to set a specific animation.
Posted 17 years ago2006-06-11 11:48:25 UTC Post #184730
  • make an entity "prop_dynamic", give it the worlmodel "combinebutton"
  • give it the name "combinebutton"
  • make a brushbased entity "func_button"
  • input (func_button) onpressed/combinebutton/setanimation/press
Is that helpful at all?
Habboi HabboiSticky White Love Glue
Posted 17 years ago2006-06-11 12:00:11 UTC Post #184732
I want the door to open. I know how to set up the prop_dynamic and all that. But the Outputs of the button I don't understand. In the "via this output" there is a "Setanimation" selection. Do I have to type in "Open?"
Posted 17 years ago2006-06-11 12:24:45 UTC Post #184733
Nevermind I got it to work.
Posted 17 years ago2006-06-11 13:03:11 UTC Post #184738
Habboi 1 Madcow 0
Habboi HabboiSticky White Love Glue
Posted 17 years ago2006-06-11 13:14:18 UTC Post #184739
Nevermind I got it to work.
Since everyone learns how to solve problems from the forums, why don't you post what you did to make it work?
Posted 17 years ago2006-06-12 19:42:15 UTC Post #184871
Well, In the "via this output" I put "Set animation" and in the "Parameter Overide" I put "Open". So basically, type in the name of the animation in the "Parameter Overide"
You must be logged in to post a response.