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: You can also use coordinates outside the screen range (0-850 and 0-480) to make text scroll out of the screen. The values above only define the visible screen area.
Since CS2D 220.127.116.11 the screen size is dynamic / depends on mp_hudscale
! Please read the mp_hudscale
reference for details!