OnPlayerLevelUp

From NWN Lexicon

Contents

[edit] OnPlayerLevelUp

Occurs when a PC has gained a new level. Fires right after the player has clicked okay to confirm the choices he has made for the gained level. There's no way to prevent the level from occurring, but you can script it so that the PC is knocked back a level right after he has gained it.

[edit] Trigger

When a PC gains a new level.

[edit] Function(s)

GetPCLevellingUp() returns the player who is leveling up.

[edit] Remarks=

When forcing redo a level, use small delay (such as 0.3+-) before restoring player's experiences. Otherwise player might not be able to see the level up button until relog.

[edit] See Also

functions: 

GetPCLevellingUp()


Personal tools
Categories