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

C++ Monster without range attack shouldn't look at you

Solution
here the problem he walks 1 sqm and looks at me
Do you want it to do not set target (attackedCreature) or just to do not change direction?
How to make monster not attack given player @El Bringy described above.
Code that turns monsters is here:
1. When cast spell (do attack) on target (player):
2. Always - 1 time per second, with doAttacking function - (when not casted spell - there was more code on TFS 1.5, so it did not 'always' execute, it's modified in Nekiro downgrade):
Probably your problem is that second code, because I don't think that Panda...
Hey as the title says how can I avoid that?
I want the monster just to move around and that's it
Gyazo Screen Video (https://gyazo.com/7ada2d1ea8a502c9174eb836c4abaec8)
here the problem he walks 1 sqm and looks at me
TFS 1.5
did you try adding whatever condition you require inside this function to prevent the creature from attacking the player unless this condition isn't fulfilled? (isAttackable)
 
here the problem he walks 1 sqm and looks at me
Do you want it to do not set target (attackedCreature) or just to do not change direction?
How to make monster not attack given player @El Bringy described above.
Code that turns monsters is here:
1. When cast spell (do attack) on target (player):
2. Always - 1 time per second, with doAttacking function - (when not casted spell - there was more code on TFS 1.5, so it did not 'always' execute, it's modified in Nekiro downgrade):
Probably your problem is that second code, because I don't think that Panda has distance attack/spell.
 
Last edited:
Solution
Back
Top