
Help
Command Reference
You can enter CS2D script commands in the console, save them in cfg-files or bind them to keys. CS2D script commands are no Lua commands but they can still be executed in Lua scripts by using the Lua parse-function!
Commands
Category: server (179)
hudtxtmove
Categories
server
Parameters
- player (1-32): id of a player (or 0 for all)
- id (0-49): internal text id
- duration (ms): alpha fade/transition effect in milliseconds
- x (0-640): new x position
- y (0-480): new y position
Info
Lets a HUD text (specified with id) change its position. The transition will be smooth and will take the given time (duration).
You can let this effect be visible for all players (player=0) or to a certain player only (player=id of this player).
Note that you can also use coordinates outside the screen range (0-640 and 0-480) to make text scroll out of the screen. The values above only define the visible screen area.
You can let this effect be visible for all players (player=0) or to a certain player only (player=id of this player).
Note that you can also use coordinates outside the screen range (0-640 and 0-480) to make text scroll out of the screen. The values above only define the visible screen area.






