Hi,
I have a simple function in sources noMove (found at otland) I implemented it in sources.
Everything works fine with that until im using it in creature who should stay in place for ex. 6 seconds.
explain GIF:
Screen capture - 3485f0fee1742f269b68b073f93a279b - Gyazo
I want to add somewhere in sources that if creature got noMove == 1 then he shouldn't move towards the target for X seconds.
My question is: Where I should put if (noMove == 1) { return; } in C++, where is the definition of creature moves to target?
Im looking for it for like 1 hour and Im experimental with everything and still don't work.
Thanks in advance,
Anyone?
I have a simple function in sources noMove (found at otland) I implemented it in sources.
Everything works fine with that until im using it in creature who should stay in place for ex. 6 seconds.
explain GIF:
Screen capture - 3485f0fee1742f269b68b073f93a279b - Gyazo
I want to add somewhere in sources that if creature got noMove == 1 then he shouldn't move towards the target for X seconds.
My question is: Where I should put if (noMove == 1) { return; } in C++, where is the definition of creature moves to target?
Im looking for it for like 1 hour and Im experimental with everything and still don't work.
Thanks in advance,
Anyone?
Last edited: