Page 1 of 1
Change class, howto in new system with 3 classes?
Posted: Fri Aug 12, 2011 9:33 am
by botje
Like title states, anyone knows how to now its changed to 3 classes?
Botje
Re: Change class, howto in new system with 3 classes?
Posted: Sun Aug 14, 2011 10:16 am
by botje
perhaps someone with more knwoledge then me on lua could take a look at how this addon does switch?
thanx in advance mates.
Botje
Re: Change class, howto in new system with 3 classes?
Posted: Sun Aug 14, 2011 11:18 am
by rock5
I think in the end all you need is the in game function "ExchangeClass".
* Make sure you don't have any addons, that auto switch class, enabled.
* Target the npc.
* Select option to change class.
* Issue command
Code: Select all
RoMScript("ExchangeClass("..class1..","..class2..")")
- where 'class1' and 'class2' are the first and second class you want to set.
Re: Change class, howto in new system with 3 classes?
Posted: Sun Aug 14, 2011 11:39 am
by botje
like,
RoMScript("ExchangeClass("..1..","..3..")")
?
botje
Re: Change class, howto in new system with 3 classes?
Posted: Sun Aug 14, 2011 10:43 pm
by rock5
The example I did was using varables but if you know you want to change to 1,3 then this will suffice
Although, what you wrote would also work.
Please note that the numbers used for the classes in game are different to the ones used by the bot. I'm not sure why. The bot starts at '1' for warrior and the game starts at 2 for warrior. So to change to warrior/rogue you could use
Code: Select all
RoMScript("ExchangeClass("..CLASS_WARRIOR+1..","..CLASS_ROGUE+1..")")
Re: Change class, howto in new system with 3 classes?
Posted: Mon Aug 15, 2011 2:03 am
by botje
thanx mate, and i proberly know why were using different numbers, ingame GM is class 1, which we dont use obvious
Botje