EXP dungeon editor help

Have trouble running Legend of Grimrock 2 or do you have questions about the purchasing options? Look for help here.
Post Reply
ratman
Posts: 75
Joined: Fri Jan 10, 2020 1:13 am

EXP dungeon editor help

Post by ratman » Sat Jan 25, 2020 7:33 pm

Does anyone know how to give the players exp while they are playing my dungeon for grimrock 2?

Zo Kath Ra
Posts: 827
Joined: Sat Apr 21, 2012 9:57 am
Location: Germany

Re: EXP dungeon editor help

Post by Zo Kath Ra » Sat Jan 25, 2020 8:08 pm

ratman wrote:
Sat Jan 25, 2020 7:33 pm
Does anyone know how to give the players exp while they are playing my dungeon for grimrock 2?
http://www.grimrock.net/modding/scripting-reference/
Champion:gainExp(xp)

Examples:

Code: Select all

party.party:getChampion(1):gainExp(100)
party.party:getChampionByOrdinal(1):gainExp(100)

ratman
Posts: 75
Joined: Fri Jan 10, 2020 1:13 am

Re: EXP dungeon editor help

Post by ratman » Mon Jan 27, 2020 10:38 pm

thanks :D

Post Reply