CMoveData.GetConstraintRadius

From GMod Wiki

Revision as of 22:00, 18 September 2009 by Dlaor (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax MoveData:GetConstraintRadius( )
Description:
Returns the radius that constrains the players movement.
Returns: Number
In Object: Cmovedata
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=CMoveData.GetConstraintRadius]CMoveData.GetConstraintRadius [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionPrints the Contraint Radius
Used onNewerShared.png
Code
 
function GM:SetupMove( PLAYER, MOVE )
   Msg( "Constraint Radius is " .. MOVE:GetConstraintRadius() .. "\n" )
end
 
OutputConstraint radius is ....


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox