Difference between revisions of "TActivePlayer.SetVelocity"

From Soldat Community Wiki
Jump to: navigation, search
(Created page with " '''''procedure SetVelocity(VelX, VelY: Single) ''''' VelX: velocity on X axis VelY: velocity on Y axis ==Description== Sets player velocities on X and Y axis ==Example==...")
 
(No difference)

Latest revision as of 09:45, 12 September 2016

procedure SetVelocity(VelX, VelY: Single) 
 VelX: velocity on X axis
 VelY: velocity on Y axis

Description

Sets player velocities on X and Y axis

Example

// stop the player with ID 1
Players[1].Setvelocity(0,0);