Ohh thank you,monster.cpp
I don't know but , maybe I will be wrong
I think it's based auto in your monster
Code:<targetchange interval="5000" chance="8"/>
but i'm not sure
ctrl+f -> bool Monster::searchTargetOhh thank you,
can you tell me which part of the code that changes this?
or is it all monster.cpp?
I tried to change and is now giving error at compile time: (ctrl+f -> bool Monster::searchTarget
Can you exactly explain your problem?
I wanna know what i need to modify in that code, to make the monster begin to change their target when someone lure it at the person.
Now that u told what i need to have to make it, i dont know what i need to change to make it work :x
For example: what i need to change, which part, what code needs to be changed... these kind of things :S
Can u help me please? i could send u my monster.cpp if u want to
Thx anyway
if(mType->targetDistance <= 1)
searchTarget(TARGETSEARCH_RANDOM);
else
searchTarget(TARGETSEARCH_NEAREST);
searchTarget(TARGETSEARCH_ATTACKRANGE);