Difference between revisions of "TActivePlayer.VelX"

From Soldat Community Wiki
Jump to: navigation, search
(Created page with " '''''property TActivePlayer.VelX: Single''''' Access mode: R ==Description== Horizontal velocity of a player. ==Example== <syntaxhighlight lang="pascal"> if (Players[1]...")
 
(No difference)

Latest revision as of 00:14, 1 July 2013

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);