Other great resources: Official JS API docs, Scripting Forum

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Set the rate at which droids gain experience...

 

Syntax

setExperienceModifier(player, percent)

Parameters

ParameterTypeMandatoryNotesGame Version
playerNumber(tick)The player who's droid's will be affected3.2
percentNumber(tick)The percentage at which droids will gain experience3.2

Return values

ValueTypeNotesGame Version
(question)(question)(question)3.2
<error>ErrorInvalid parameters.3.2

Example

setExperienceModifier(me, 40); // my droids gain at 40%
Availability DEV

Requires:

  • Warzone 3.2 or above
Contents

Jump to:

See also

Related articles:

  • getExperienceModifier() – gets the current percentage set for a given player

 

  • No labels