WarCraft: Source

 

registerMaxLevel

Page history last edited by freddukes@... 1 yr ago

registerMaxLevel


This is a command to register a maximum possible level that a race can reach, before the xp just loops over again and again from that level, and the race can gain no more levels. This is to attempt users into user a vary of classes, rather than just using one class over and over again.

 

The correct syntax is:

 

wcs.Race('My Race Name').registerMaxLevel(<level>)

  • Level - The maximum level the race is allowed to reach before it prevents the user from gaining any more levels

Example:

 

race = wcs.Race('My Example Race')

race.registerMaxLevel(50)


Note: If you don't use a maximum level, do NOT use this command!

 

Comments (0)

You don't have permission to comment on this page.