Quote:
|
Originally Posted by mehoo
Hey guys I was just wondering if there is a command to add lootpacks,instead of having to add the monster and kill it....Thx in advance
|
If I read your question correctly then you are trying to simply generate the loot that a monster would normally carry on the spot.
As far as I know there are no commands available to do this directly (but I may be mistaken of course), since not all monster loot is determined via the lootpack (gold may be generated on death, and some items are directly added to the monster's pack via the monster script).
I don't have the runuo source available here but if I remember correctly then the loot(-result) is generated when the monster dies for the most part. So you could check the BaseCreature.cs OnDeath Method and see if you can strip it down to the loot generation and then make it a simple command that adds it to a bag of sorts.
Odds are that someone at least tried something similar so I'd dig in the custom scripts for a while before deciding to make it yourself.
Either way, good luck