General Questions
IamKhauna
Member Posts: 40
Hi there, I'm building a extraordinary module that will rock totally everyone by it's awsomness.
But I have some doubt's, nothing complex, I'll post all my questions here:
First, where I define the max number of henchmans in a party?
How can I create a world map?
Wait for answer, cheers, Khauna.
But I have some doubt's, nothing complex, I'll post all my questions here:
First, where I define the max number of henchmans in a party?
How can I create a world map?
Wait for answer, cheers, Khauna.
0
Comments
Wait for answers, cheers, khauna.
object GetTrueMaster(oPerson)
{
while (GetMaster(oPerson)!=oPerson) oPerson=GetMaster(oPerson);
return oPerson;
}
In other words, keep going up the chain until there's no master to find (which is indicated by the GetMaster function returning the same person it was given to find the master of) then return whoever was at the top of the chain, as an object.