Yanfly AI Core, Enemy Battler, "User State Check"

Kingkoala

Villager
Member
Joined
Apr 26, 2018
Messages
19
Reaction score
2
First Language
English
Primarily Uses
RMMV
Hey I'm trying to set up an AI Eval

Where the enemy will check itself for a state and if they have that state they will use a certain skill.
I've gotten to a note tag of:

Eval user.isStateAffected(x) === Skill, Target

and maxed out the AI lvl,
but it doesn't seem to work.

Could someone help correct me?
 

TSR

The Northern Frog
Veteran
Joined
Nov 14, 2019
Messages
279
Reaction score
244
First Language
French
Primarily Uses
RMMV
Hi,
Here’s how you should write it:
Eval user.isStateAffected(x): Skill, Target :p
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,860
Messages
1,017,040
Members
137,569
Latest member
Shtelsky
Top