(info) Other great resources: Official JS API docs, Scripting Forum

setExperienceModifier()

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