TActivePlayer.VelX

From Soldat Community Wiki
Revision as of 00:14, 1 July 2013 by Squiddy (talk | contribs) (Created page with " '''''property TActivePlayer.VelX: Single''''' Access mode: R ==Description== Horizontal velocity of a player. ==Example== <syntaxhighlight lang="pascal"> if (Players[1]...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
property TActivePlayer.VelX: Single
 Access mode: R

Description

Horizontal velocity of a player.

Example

   if (Players[1].VelX = 0) and (Players[1].VelY = 0) then
     Players[1].WriteConsole('You are as still as still can be, yo!',$FFFFFF);