ReApEr
Member
- ServUO Version
- Publish 58
- Ultima Expansion
- Endless Journey
I'm creating a Pet wars Token that when double clicked creates A pet with the title "Pet wars" amognst other things.
I have it looking at this value here to summon the pet;
My issue is I want it to summon A generic Pet not the exact one I target.
So If I target A troll it will summon "Troll" (with the random stats and an skills the troll would get)
So I want the Value to be set as the BaseCreature Troll (Or what ever else I decided to target)
I was hoping someone could point me in the direction I need to make it so when I target a basecreature It essentialy marks that value as thats creatures .cs?
If that makes sense.
I have it looking at this value here to summon the pet;
C#:
[CommandProperty( AccessLevel.Administrator )]
public BaseCreature Pet
{
get{ return m_Pet; }
set{ m_Pet = value; }
}
My issue is I want it to summon A generic Pet not the exact one I target.
So If I target A troll it will summon "Troll" (with the random stats and an skills the troll would get)
So I want the Value to be set as the BaseCreature Troll (Or what ever else I decided to target)
I was hoping someone could point me in the direction I need to make it so when I target a basecreature It essentialy marks that value as thats creatures .cs?
If that makes sense.
Attachments
Last edited: