Garry's Mod

Garry's Mod

Ver estadísticas:
mikeshatter 20 NOV 2018 a las 14:40
Is there a way to bind disable ai and enable ai?
I'm working on a video using gmod, and there is going to be an execution scene, but I want the npcs to execute the hostage on time, so i need help binding enable ai.
< >
Mostrando 1-15 de 23 comentarios
El autor de este hilo ha indicado que este mensaje responde al tema original.
Robert F. 20 NOV 2018 a las 16:20 
bind *KEY* "toggle ai_disabled 0 1"
mikeshatter 20 NOV 2018 a las 16:24 
Publicado originalmente por Robert ♥♥♥.:
bind *KEY* "toggle ai_disabled 0 1"
Thanks! but I found an easier way, you can do "bind <key> ai_disable" because ai_disable is the one that toggles it, and I also don't have to type as much code, thanks anyway!
Robert F. 20 NOV 2018 a las 19:20 
Publicado originalmente por mikeshatter:
Publicado originalmente por Robert ♥♥♥.:
bind *KEY* "toggle ai_disabled 0 1"
Thanks! but I found an easier way, you can do "bind <key> ai_disable" because ai_disable is the one that toggles it, and I also don't have to type as much code, thanks anyway!
That's true, both commands are the same concept but they're slightly different.
Gmod uses it own AI command, which is "ai_disabled 0/1" that effects in NPC menu.
If you use "ai_disable" the "Disable Thinking" in NPC menu will not showned as marked and won't effect if "ai_disabled 1" is enabled.
Última edición por Robert F.; 20 NOV 2018 a las 19:32
Drako 25 OCT 2020 a las 19:01 
you guys ok? cause it isn't working
mikeshatter 26 OCT 2020 a las 17:50 
Publicado originalmente por 🎃Jack-O-cubfan08🎃:
you guys ok? cause it isn't working
bind <key> ai_disable
forget the toggle part overall, and dont add quotations
Última edición por mikeshatter; 26 OCT 2020 a las 17:51
Cactusman 5 FEB 2021 a las 21:49 
doesn't work
SF-35RX 8 AGO 2021 a las 1:22 
bind p "toggle ai_disabled 0 1" . Change p key to what your key want. The reason it is not work for early that I try because some key is already belong to default . You need to choose other key than default ones.
I am trying to bind my keys to disable ai but it is not working can I get some help pls
clue 20 DIC 2021 a las 11:17 
this does not work im typing
bind m ai_disable
bind m toggle ai_disabled 1 0
bind m toggle ai_disabled 1
nothing works
seblee2009 18 MAY 2022 a las 9:44 
2018 - 2022
Yūsuf 1 SEP 2022 a las 19:55 
its says: <key> isn't a valid key
orchium 3 SEP 2022 a las 14:52 
Publicado originalmente por SF-35RX:
bind p "toggle ai_disabled 0 1" . Change p key to what your key want. The reason it is not work for early that I try because some key is already belong to default . You need to choose other key than default ones.
i tried this and it says bind <key> [command] : attach a command to a key
MeepLord 10 SEP 2022 a las 14:49 
I think I figured out a solution. You can type BindToggle <Key> ai_disabled
maxharrysson 21 OCT 2022 a las 23:29 
Publicado originalmente por SF-35RX:
bind p "toggle ai_disabled 0 1" . Change p key to what your key want. The reason it is not work for early that I try because some key is already belong to default . You need to choose other key than default ones.
doesnt work
teas 27 ENE 2023 a las 11:16 
Publicado originalmente por maxharrysson:
Publicado originalmente por SF-35RX:
bind p "toggle ai_disabled 0 1" . Change p key to what your key want. The reason it is not work for early that I try because some key is already belong to default . You need to choose other key than default ones.
doesnt work
it doesnt work because you gotta find a key that isnt being used. If you want to change it to something else just do "unbindall" and then reset your whole keybind section in gmod. If theres any problems going on just reply to this comment. :steamhappy:
< >
Mostrando 1-15 de 23 comentarios
Por página: 1530 50

Publicado el: 20 NOV 2018 a las 14:40
Mensajes: 23