Func_Button trouble Created 1 year ago2022-05-29 20:53:53 UTC by closed closed

Created 1 year ago2022-05-29 20:53:53 UTC by closed closed

Posted 1 year ago2022-05-29 20:53:53 UTC Post #346564
Pretty simple, cannot interact with it when pressing E,
Posted 1 year ago2022-05-29 22:40:18 UTC Post #346566
You check in Flags tab "Dont move". Read func_button . This happened also to me, but it solved when i added the Target because i forgoted to do that lol :D
Posted 1 year ago2022-05-30 02:05:56 UTC Post #346567
It still doesnt work even when target and dont move is set
Posted 1 year ago2022-05-30 07:03:33 UTC Post #346568
send the part of your map to me i can have a look
Posted 1 year ago2022-05-30 07:32:44 UTC Post #346569
Check your other flags. If you have Touch Activates checked, then you have to walk into it, Quake 1 style. Otherwise, E should work.

Feel free to post a screenshot of your setup if you need help :)
monster_urby monster_urbyGoldsourcerer
Posted 1 year ago2022-05-30 18:19:13 UTC Post #346572
https://drive.google.com/file/d/1Gf-ekUBl4--j9cnLYf99OKXDRIZO8GKB/view?usp=sharing that is the link to the jmf file, the button is a retinal scanner
Posted 1 year ago2022-05-30 21:25:57 UTC Post #346575
I think i fixed it, i changed the texture from the trigger AA to solid blue , here's the link to the updated map

https://www.dropbox.com/s/wwjfx6geayx61e0/ithinkifixedit.jmf?dl=0

i think you cannot have a func_button with a trigger aa texture

i think it only works for trigger_once and trigger_multiple (you can use those as buttons) (triggers)
Posted 1 year ago2023-02-05 23:49:33 UTC Post #347302
im here 8 months later and i found out it was because lip was blank instead of being set to 0, Pretty weird
Posted 1 year ago2023-02-06 23:05:50 UTC Post #347305
Lip is always blank by default. That shouldn't break anything.
monster_urby monster_urbyGoldsourcerer
Posted 1 year ago2023-02-08 19:21:30 UTC Post #347311
I don’t know... func_button that mysteriously stop working have been plaguing me ever since I started mapping. To this day I still do not know why. I’ll double check my lip and my textures...
I also once had a func_door_rotating that also stopped working, maybe it’s related...
Posted 1 year ago2023-02-09 00:27:46 UTC Post #347312
I use button_target instead of func_button because for some reason func_button never works for me, i think its pretty bugged.
Posted 1 year ago2023-02-09 11:09:39 UTC Post #347314
If func_button isn't firing its target when +USE'd you may check that its Touch Activates (256) flag isn't set and that the Health keyvalue is set to 0 (if greater than zero it needs to be "killed" before it fires its target). It shouldn't be necessary to tell anyone to check that the Target keyvalue actually points to a valid target, but just in case.

If it fires its target fine, but otherwise behaving in an unexpected way it'd be worth mentioning in what way it's behaving unexpectedly instead of saying "it's not working".
Posted 1 year ago2023-02-09 11:56:58 UTC Post #347315
I use button_target instead of func_button because for some reason func_button never works for me, i think its pretty bugged.
Curious... I've literally never had issue with a func_button in over 20 years. :\
monster_urby monster_urbyGoldsourcerer
Posted 1 year ago2023-02-09 16:53:11 UTC Post #347319
I use button_target instead of func_button because for some reason func_button never works for me, i think its pretty bugged.
I did too, problem is button_target fire when hit, which can makes things confusing for the player if the button activates because of say a nearby explosion.
Posted 11 months ago2023-04-27 23:20:55 UTC Post #347485
Reviving this thread, as I still do not know how to make a func_button that is toggle-able. Does someone know?
Posted 11 months ago2023-04-28 12:51:05 UTC Post #347486
The toggle flag should do that but depending on other keyvalues its behavior may change. Maybe create a small test map that illustrates what you're trying to do and what isn't working.
Posted 10 months ago2023-04-29 23:55:27 UTC Post #347488
The toggle flag should do that but depending on other keyvalues its behavior may change. Maybe create a small test map that illustrates what you're trying to do and what isn't working.
My problem was that the button could only be used once with the Toggle flag checked. I tried fiddling with the lip and texture but it didn’t help.

I did find out the problem after more fiddling though: "Delay before reset" must be set to a value greater than or equal to 0. I was setting it to -1 as I was expecting it to work like other toggle entities like doors. I’ve added a note on the wiki about this behaviour, I don’t think I’m the only one who wasn’t aware of that.
You must be logged in to post a response.