API Documentation

Posts: 1079
Joined: Sat Jan 07, 2017 4:00 pm

Re: API Documentation

Post by DartKotik » Sun May 05, 2019 9:04 pm

perhaps there is no such function in API. try to find console command and activate into your plugin.
Sorry for my English. I translate with Google.
Quester Assistant plugin

User avatar
Posts: 1884
Joined: Fri Aug 13, 2010 12:31 pm

Re: API Documentation

Post by Jarod46 » Mon May 06, 2019 6:04 am

It's "Gensendmessage Playerstatus_Root Respec" game command, you can found it by using game commands monitoring in debug plugin, misc tab.
Game commands can be called with "MyNW.Internals.GameCommands.Execute" generic function, it's just a string as parameter.
Game commands wrappers are unique functions and require a specific implementation in bot API, so it's not necessarily already the case.
For retraining it's a command so it's not a problem.

MyNW.Internals.GameCommands.Execute("Gensendmessage Playerstatus_Root Respec");
Only account support via private messages
Low English level, sorry

Posts: 1006
Joined: Wed Aug 31, 2016 7:32 am

Re: API Documentation

Post by michaelprog » Wed May 08, 2019 11:07 am

How can I detect current role's Name ?
Astral.Controllers.Roles.CurrentRole is not accessible.
Хочешь что-то сделать хорошо - сделай это сам!

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests