// he his guild owns the outpost he can only help his guild
// he his guild owns the outpost he can only help his guild
if(_GuildId==outpost->getOwnerGuild())
if(_GuildId==outpost->getOwnerGuild())
{
{
nlinfo("Guildmate %s choose side Owner at OP %s",getName().toString().c_str(),CPrimitivesParser::aliasToString(_OutpostIdBeforeUserValidation).c_str());
setOutpostSide(OUTPOSTENUMS::OutpostOwner);
setOutpostSide(OUTPOSTENUMS::OutpostOwner);
_OutpostIdBeforeUserValidation=0;
_OutpostIdBeforeUserValidation=0;
return;
return;
}
}
// he his guild attacks the outpost he can only help his guild
// he his guild attacks the outpost he can only help his guild
nlinfo("Guildmate %s choose side Attacker at OP %s",getName().toString().c_str(),CPrimitivesParser::aliasToString(_OutpostIdBeforeUserValidation).c_str());
// his guild doesn't participate in outpost conflict but player don't made a choice when op is under attack => random
if(neutral&&outpostInFire)
{
{
// his guild doesn't participate in outpost conflict so he can choose the side he wants
if(side==OUTPOSTENUMS::OutpostOwner)
nlinfo("Player %s choose side Owner at OP %s",getName().toString().c_str(),CPrimitivesParser::aliasToString(_OutpostIdBeforeUserValidation).c_str());
if(side==OUTPOSTENUMS::OutpostAttacker)
nlinfo("Player %s choose side Attacker at OP %s",getName().toString().c_str(),CPrimitivesParser::aliasToString(_OutpostIdBeforeUserValidation).c_str());