Closed formica5699 closed 9 years ago
The problem here is that features are accessed during initialization sequence, which means if you try to access the actor while it's being initialized, the game will be thrown into a recursive loop.
When you try to access a party's members, it will collect all of the actors, which requires the actors to be initialized, and therefore infinite loop
Since you are just checking for party size, add this script
class Game_Party
def size
@actors.size
end
end
And then use this as the condition
$game_party.size
Thanks a lot. I learned a thing again.
Nice to meet you, I have a problem using your "Feature Conditions" script and It would be grateful if you helping me.
Basically, I want to get parameters down for certain actor (say "Eric") , depending on the number of actor in Scene_Battle. then I can say "Eric" get most vulnerable when leaved alone.
example here:
result:
I just can't understand why this happens. Could you fix this problem?
It works perfectly when setting the notebox like these: