Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(1 edit)

Hello there! I really like this plugin and was messing around with it,

one thing I wanted to do was make it so that the player's turn automatically ends after they've used a certain amount of cards (by default it's 2 but I wanted to make it adjustable so I can add skills that grant more actions and such), the only issue is there didn't seem to be a way to do this with the plugin, so I attempted to do a makeshift action-count system in-game, by setting the number of actions  to the player's default action count at the start  of the battle. Then once the player uses a card it calls a "consume action" common event that does as follows


This works fine at first, but an issue arises upon reaching 0, for some reason, I cannot force the turn to the end with my end turn skill, instead the game softlocks as seemingly nothing happens forever.  After doing some tests I came to the conclusion that for some reason the game was stuck trying to use the end turn skill, but it couldn't (I did this by giving the end turn skill a common event which just put up a dialogue box with some text) I tried to fix this by using switches to make the force action part happen in a troop event with the "moment" condition but that just gave me the same result.

So with seemingly no other options left I come here to ask if there's a way I can get the effect I want here? or at the very least force the turn to end after a set amount of cards used if I can't make it dynamic/adjustable?

Hey D.R.G,

We would recommend using YEP Battle Engine Core and YEP Standard Turn Battle (STB) system plugins for this purpose. That will make it such that you can queue force action Turn Ends and that all the Turn End triggers happen after the Actor has completed their Action. Place these plugins above IsiahCardGameCombat for best compatibility. Once both of these are in, you should be able to use an Eval Card Action or an Action Sequence to fire a skill end the user's turn if their Action Count is reduced to 0.

If you are still having trouble implementing this system, we would be willing to troubleshoot it further with you on our community Discord. We have a dedicated forum by which we can help users with such implementation problems that may be easier than using the ones on itch.io. If however, you would prefer to continue the discussion here, we can do that as well :)

Thanks,

MythAtelier Team

(2 edits)

I think I would prefer to keep that discussion here, thank you for the offer though!

With that aside following your recommendations did provide some progress, where i was able to get the skill to successfully get the end turn skill to go off by using action sequences (common event 1 just forces the action since I couldn't find a way to do that in the action sequence itself) 

The only issue was that when the End Turn action was forced, it seemed to have just used the skill like any other card, and i could continue my turn without receiving new cards or experiencing the enemy attacks, but it would also have strange side effects like allowing me to pick a card/end my turn even when all the enemies die (though selecting anything seems to just crash the game in that state)