RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Question about mobiles

Yurup

Wanderer
Question about mobiles

public BullFrog() : base( AIType.AI_Animal, FightMode.Agressor, 10, 1, 0.2, 0.4 )

What does the "10, 1, 0.2, 0.4" part stand for? I'm trying to figure out but I realy have no clue..
 

Yurup

Wanderer
Ok, it might be me being stupid here, but after looking though some files I have no clue about what you mean. Could you please explain it with a bit more detail so I have a better understanding of where to look?
 

hokierob

Sorceror
He meant just check the constructor the for mobiles base class. The base class of an object is the class after the colon in the class declaration.

class Frog : BaseCreature - base class
{
}

This is the constructor for it.

public BaseCreature(AIType ai,
FightMode mode,
int iRangePerception,
int iRangeFight,
double dActiveSpeed,
double dPassiveSpeed)
 
Top