Forcing crouch

Quote from josepezdj on July 23, 2013, 11:01 amWell, the console command is "+duck" (with no quotation marks :p)... So just introduce a point_clientcommand entity, name it "@command" for instance, and use a trigger (or whatever) that, whenever you need the player to croach, fires an output like this:
- OnTrigger > @command > command > +duck
To undo the croach move, use "-duck".
[spoiler]Quick tip: you can know the basic control commands already binded to keys by looking inside your config_default.cfg inside your /portal 2/portal2/cfg folder (or inside portal2_dlc1/cfg and portal2_dlc2/cfg)[/spoiler]
Well, the console command is "+duck" (with no quotation marks :p)... So just introduce a point_clientcommand entity, name it "@command" for instance, and use a trigger (or whatever) that, whenever you need the player to croach, fires an output like this:
- OnTrigger > @command > command > +duck
To undo the croach move, use "-duck".