PDA

View Full Version : GM Commands or other via NPC


Thalone
24.04.2006, 21:09
I was just wondering on the many possibilities of things i could if an npc is able to do things such as //reset_skill or //set_skill_all
or is there any way to do something *like* gm commands through AI?

Truffe
24.04.2006, 22:25
Not that we know of...

Megatronpt
25.04.2006, 01:26
It should be.. possible

For example: the Subclass Manager...

It sets a new class... or the Masters.. they set them using push_const something.

RipperX
25.04.2006, 01:52
It should be.. possible

For example: the Subclass Manager...

It sets a new class... or the Masters.. they set them using push_const something.

Simple like ClassChange(talker, class); :D

For skill, NASC have a few functions that u can see in my share, maybe u can see a solution.

ShowRedirectMessage (CSharedCreatureData *c, int nMessage)
ShowGrowSkillMessage2 (CSharedCreatureData *c, int nSkillNameID, int nQuestID, int nQuestItemID, WCHAR* fnAfterGrow)
ShowGrowSkillMessage (CSharedCreatureData *c, int nSkillNameID, WCHAR* fnAfterGrow)

bb, good luck

Thalone
25.04.2006, 05:16
Thank you RipperX ill look into that more.