• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

TFS 0.X targetDistance with exeta res

Elgenady

Veteran OT User
Joined
Aug 5, 2011
Messages
1,663
Solutions
36
Reaction score
371
i use 0.4 source and i try to make something like this
Code:
bool Monster::challengeCreature(Creature* creature)
{
    if(isSummon() || !selectTarget(creature))
        return false;

    targetChangeCooldown = 8000;
    targetChangeTicks = 0;
    mType->targetDistance = 1;
    return true;
}
its work but change targetdistance for all monster
example if use exeta res on hunter all hunters will chnage to mType->targetDistance = 1;
i need help to make it work on target monster only anyone can help me?
 
Back
Top