Gave it a try and ran into a slight issue with my character Striker. Using following AI:
DvA is a transformation move, turning the character into a different ID one. The second form again has a DvA transforming him back.
Using this script, the AI spammed DvA as soon as the condition triggered and as well performed DvA in the frame right after the transformation.
I fixed this issue by adding a self.frame check to the condition, but this bug sort of means the AI script of ID #1 runs for 1 frame of ID #2 (or is the DvA input simply being carried over for a single frame by engine?)
Nothing serious, just dunno'ing.
On a sidenote, kudos for the flawless execution and easyly installation. Took me 5 minutes to get the setup running... Now I can turn my chars into actual companions/opponents :3
edit:
editedit:
Code:
{
if (self.hp < 400){
DdA()
}
return 1
}
Using this script, the AI spammed DvA as soon as the condition triggered and as well performed DvA in the frame right after the transformation.
I fixed this issue by adding a self.frame check to the condition, but this bug sort of means the AI script of ID #1 runs for 1 frame of ID #2 (or is the DvA input simply being carried over for a single frame by engine?)
Nothing serious, just dunno'ing.
On a sidenote, kudos for the flawless execution and easyly installation. Took me 5 minutes to get the setup running... Now I can turn my chars into actual companions/opponents :3
edit:
Quote:Also when writing your AI, keep in mind that you do not need to restart LF2 for changes to apply.Damnit, couldn't you say that earlier?! XD Or rather, in a more visible spot.
editedit:
New problem with loadTarget (Click to View)
My Creations: (Click to View)
Return (String) System.getNewsOfTheDay();
Barely active, expect slow responses. If at all.
Greetz,
Alblaka