ServerModifier

From Soldat Community Wiki
Revision as of 13:46, 15 August 2012 by Freeman (talk | contribs) (Created page with " ''procedure ServerModifier(Name: String; Value:Variant);'' '''Parameter Info:''' Name (String): Variable to modify (Currently only 'Gravity' is available) Value (Varia...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
procedure ServerModifier(Name: String; Value:Variant);

Parameter Info:
 Name (String): Variable to modify (Currently only 'Gravity' is available)
 Value (Variant): Value to use for new server-wide gravity

Description:
 This function will modify the game Server/Client to use a new Gravity strength.
 Bullets, grenades, and player movement will be affected by this.
 New players that join after you set ServerModifier will also be affected by the new values.
 You can not adjust gravity for individual players.
 Default Gravity is 0.06
 The 'Name' parameter is a placeholder for any future additions to this function.

Examples

ServerModifier('Gravity',0.03);