Little Fighter Empire - Forums
How to: script Artificial Intelligence - Printable Version

+- Little Fighter Empire - Forums (https://lf-empire.de/forum)
+-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7)
+--- Forum: AI Scripting (https://lf-empire.de/forum/forumdisplay.php?fid=56)
+--- Thread: How to: script Artificial Intelligence (/showthread.php?tid=7946)

Pages: 1 2 3 4 5 6


RE: How to: script Artificial Intelligence - AmadisLFE - 05-18-2014

Idk, when I tried it the first time it actually worked without problems, afterwards it didn't.


RE: How to: script Artificial Intelligence - pikol - 06-19-2014

Is there some variable to find out if the character is visible? I meat something like Rudolph's invisible move?


RE: How to: script Artificial Intelligence - YinYin - 06-19-2014

.blink

both blinking after getting up (leaving state 14) and Rudolfs invisibility use that same value.


RE: How to: script Artificial Intelligence - mrsmallbee - 02-11-2017

how to know what is the char id?


RE: How to: script Artificial Intelligence - Tabul - 04-07-2017

Hi,

is here some way how to add new move to existing original character without delete original AI? When I use ego() function, it deleted all moves except D>A (Firen's fireball).
I read somewhere it's not possible. How is it now in 2017?

Thanks.


RE: How to: script Artificial Intelligence - Tabul - 04-07-2017

Add a part before original script? That's what I need. Where can I find original script? (I mean original scripts for Firen, John etc., not mean scripts of custom characters)


RE: How to: script Artificial Intelligence - Tabul - 04-09-2017

You mean like this(?):
Code:
int ego(){
if (self.hp < 400){
DdA();
}
return 1;
}
It's just stand and use it when <400.


When I use this:
Code:
int ego(){
if (self.hp < 400){
  DdJ();
}
return 0;
}
It's working and without original special moves (except D>A).

Can you code it please how do you mean it?


RE: How to: script Artificial Intelligence - Felix - 04-11-2017

It's surprising that there're still so many people working on this :D

What a shame that I just get to know this after FIVE YEARS this amazing work has been released.