I'm creating one script and i was trying to do this:
LoadTarget Type 4 > Check if is in an offencive mode > If Yes act (Defend or Dodge).
> If No Load a new Target.
LoadTarget Type 3 > //Check if is in an offencive mode > If Yes act (Defend or Dodge).
> If No Load a new Target.
LoadTarget Type 0 > Act ( Defend, Dodge or Attack).
Well. So here starts my problem. I've made all the script but, looks like the loadTarget function become a mess. I've tried a lot of changes but nothing seems to work. Here is the main part of this AI.
If need more informations just tell me. I hope anybody can help me. I don't know what to do anymore...
LoadTarget Type 4 > Check if is in an offencive mode > If Yes act (Defend or Dodge).
> If No Load a new Target.
LoadTarget Type 3 > //Check if is in an offencive mode > If Yes act (Defend or Dodge).
> If No Load a new Target.
LoadTarget Type 0 > Act ( Defend, Dodge or Attack).
Well. So here starts my problem. I've made all the script but, looks like the loadTarget function become a mess. I've tried a lot of changes but nothing seems to work. Here is the main part of this AI.
Spoiler (Click to View)
If need more informations just tell me. I hope anybody can help me. I don't know what to do anymore...
![:( :(](https://lf-empire.de/forum/images/smilies/sad.gif)