Please or Register to create posts and topics.

Forcing crouch

Hey, Short question:

how can i force the player to crouch?

Thanks ^^

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".

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)

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]

Thanks :D