Quote:
Originally Posted by sorvani
That is what chooserandom does.
quest::ChooseRandom(1,3,11,13,27,62)
Edit to clarify: If you do not want to set the weapon yourself but still use the plugin, I would use ChooseRandom and then pass the same result into the plugin instead of a range.
|
Personally I would prefer not to use the RandomWeapons plugin all together. Its an excellent tool, however I feel I have more control if I were able to just ChooseRandom. I just dont know how to use it to select a primary/ sec item.
I thought the entry was quest::wearchange(7,(weapon#)), where I could make the weapon number a chooserandom, however I was mistaken.
Quote:
Originally Posted by Luccian
# Random Weapons: Revamped Old Weapons- 2 Handed Sword, Longsword, Dagger, Nail Board, Broken Bottle
my $randomweapon=quest::ChooseRandom(10648,10649,1065 0,10688,10692);
#Weapon1
quest::wearchange(7, $randomweapon);
#Weapon2
quest::wearchange(8, $randomweapon);
|