• 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!

Compiling New function dont work...

dont know why are you calling us by our nicks since we won't see it until we open your thread

i tried editing canWalkTo aswell as that and it didn't work, seems like monster pathfinding is somewhere else
 
Ehh.. So you dont have any idea for moving through player if player dont have XX storage value ? :( I need that ;/
I put your's nicks because i have big respect to you ;p
 
Ok i done it ! But it wrongs with new parameter in monster.xml.

How i can define the new parameter attackOnly="xxx" in cpp ?
 
Hey! did you hear the news? there's an old but yet cool function in otland! you can edit posts! :w00t:.
but seriously, edit posts instead double posting :D.
 
After:
if(readXMLString(root, "attackOnly", strValue))
mType->attackOnly = booleanString(strValue);
else
mType->attackOnly = false;

In class MonsterType add:
bool isSummonable, isIllusionable, isConvinceable, isAttackable, isHostile, isLureable,
isWalkable, canPushItems, canPushCreatures, pushable, hideName, hideHealth, attackOnly;

In void MonsterType::reset():
canPushItems = canPushCreatures = isSummonable = isIllusionable = isConvinceable = isLureable = isWalkable = hideName = hideHealth = attackOnly = false;
 
Haha ~Summ thanks but i got this already (like 20 min before your post).
Thanks for help anyway..

fixed ~close please.
 
Pretty dumb then:
How i can define the new parameter attackOnly="xxx" in cpp ?
-> Posted at 17:13

My post -> 17:20

My post - 20 mins = 17:00 ~
So you got it before you asked-.- nice brain you got there
 
Back
Top