Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

i only need the stacks so my common event only triggers if one stack,
i only need the numbers so the player knows how many shadow clones they have

Good stuff👍 

i did have to use your older stack plugin too because for some reason it was still detecting it as the first stack even though the 2 was visible

So you're using both?

yup, i set up the max stacks in the new one too, but for some reason

i = 0;

req_state_id=41;

nya = $gameParty.members()[i]._states.filter(state_id => state_id == req_state_id).length;

$gameVariables.setValue(1,nya);

was returning 1 stack even when the number said 2 until i put the old one back

State stacks don't check like that in status construct

is there a plugin command for checking stacks? i had this code before i added it

Change the _states to _stackedStates[State_id]

No filter function required