Forcing crouch
Posted Jul 23, 2013
Hey, Short question:
how can i force the player to crouch?
Thanks ^^
Registered users don’t see ads!
Register now!
Posted Jul 23, 2013
Replied
16 minutes
later
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".
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)
Posted Jul 23, 2013
Replied
2 hours
later
Thanks