Hello,
Yanflys Action Sequence Pack 1 allows if statements
Usage Example:
if $gameSwitches.value(1)
action effect
else if $gameSwitches.value(2)
action effect
action effect
else
action effect
action effect
action effect
end
Which code do I need to ask if the target characters has a certain state.
So basically I want to ask if the target has state 12 (12 is the id)
What do I need to input?
I tried
if state12: target (I want to ask if the target is affected by state 12)
actions here
else
end
That would have been to easy, I don't anything about java script. A little bit help would be much appreciated. :p
Thank you anyways! :)
Yanfly Action Sequences I if condition
● ARCHIVED · READ-ONLY
-
-
if target.isStateAffected(12) do your stuffelse do other stuffend<3
-
Thank you D:
I owe you.