Is that possible to make two animals fighting themselves? Do the game engine and scripts allow it?
Forum




AI vs AI fighting?
3 replies



Is that possible to make two animals fighting themselves? Do the game engine and scripts allow it?


McLeaf had it implemented in his modified sourcecode: https://www.youtube.com/watch?v=agjZlkJ5kXA


this should only be started if they are within a certain range of each other (


use a local

after that I think

[edit: just noticed that I forgot to mention here that you'll still need to use


if you want to make the fights more dynamical instead of just the units walking up to each other and hitting each other until one falls over, you should add an


(if


and as always: if the description text of a command reference has not been translated from german to english, put the URL of the page into google translate instead. it's usually enough to let you understand what you have to know.
s2script is pretty powerful in terms of what it lets you do with the game.
edited 2×, last 21.11.15 06:58:57 pm



