Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
G2O Missing functions to add
#1
Client Side:

Setters:

setPlayerTalent(int: talent_id, bool: toggle); - example: setPlayerTalent([font=sans-serif]TALENT_THROPHY, true);[/font]

setPlayerMana(int: heroId, int: mana);

[font=sans-serif]setPlayerMaxMana(int: heroId, int: max_mana);[/font]

Getters:

[font=sans-serif]getPlayerTalent(int: talend_id); returns bool true/false[/font]

[font=sans-serif]getPlayerMana() returns player mana[/font]

[font=sans-serif][font=sans-serif]getPlayerMaxMana() returns player max mana[/font][/font]
[Image: pjDBIfE.gif]
Reply


Messages In This Thread
Missing functions to add - by Mattwell - 02.02.2018, 17:13
RE: Missing functions to add - by Toworish - 02.02.2018, 17:19
RE: Missing functions to add - by Mattwell - 02.02.2018, 17:20
RE: Missing functions to add - by Toworish - 02.02.2018, 17:22
RE: Missing functions to add - by Mattwell - 02.02.2018, 17:23
RE: Missing functions to add - by Toworish - 02.02.2018, 17:34
RE: Missing functions to add - by Marko - 03.02.2018, 00:53

Possibly Related Threads…
Thread Author Replies Views Last Post
  G2O Weather/Time control functions Patrix 6 8,046 22.03.2017, 11:51
Last Post: Osmith

Forum Jump:


Users browsing this thread: 1 Guest(s)