Graphics::setTimecycleModifier: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
Line 1: Line 1:
Loads the specified timecycle modifier. Modifiers are defined separately in another file (e.g. 'timecycle_mods_1.xml')<br><br>Parameters:<br>modifierName - The modifier to load (e.g. 'V_FIB_IT3', 'scanline_cam', etc.)
Loads the specified timecycle modifier. Modifiers are defined separately in another file (e.g. 'timecycle_mods_1.xml')<br><br>Parameters:<br>modifierName - The modifier to load (e.g. 'V_FIB_IT3', 'scanline_cam', etc.)
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">graphics.setTimecycleModifier(modifierName);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.graphics.setTimecycleModifier(modifierName);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''modifierName:''' String
*'''modifierName:''' String
Line 8: Line 8:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Graphics_function_c}}
{{Graphics_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Revision as of 21:13, 6 May 2017

Loads the specified timecycle modifier. Modifiers are defined separately in another file (e.g. 'timecycle_mods_1.xml')

Parameters:
modifierName - The modifier to load (e.g. 'V_FIB_IT3', 'scanline_cam', etc.)

Syntax

mp.game.graphics.setTimecycleModifier(modifierName);

Required Arguments

  • modifierName: String

Return value

  • Undefined

Example

// todo

See also