1
0
EQ2Emu/docs/lua_functions/SetPlayerLevel.md
2025-05-15 09:50:31 -04:00

16 lines
460 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Function: SetPlayerLevel(Player, Level)
Description: Sets the players adventure level to the specified value. This is an administrative function (normally level changes by experience gain), allowing GM or script to directly change level.
Parameters:
Player: Spawn The player whose level to change.
Level: Int32 The new level to set.
Returns: None.
Example:
-- Example usage (GM tool leveling a player to 50)
SetPlayerLevel(Player, 50)