- Joined
- Apr 15, 2022
- Messages
- 174
- Reaction score
- 47
- First Language
- English
- Primarily Uses
- RMVXA
Sorry, I know I made a post above, but this is a different question:
As I said in the post above, I'm using a card game script
When I create a card with a <card_impact:> and that same card has a "follow-up" skill with yanfly follow-up scirpt, it will add the <card_impact:> of that skill to the current card impact.
This is the regular window for the first card impact:

But then, after 1 second before I can even pick the card/s for the current impact, the next skill of the follow up will add the cards of the next impact.

Sorry, I'm not that good to explain myself correctly. The example here is the next:
Skill ID 158 has a <card_impact: xxx> that will pick 3 cards from my extra deck, and send them to the gy. After that, I want it to make a follow-up to skill 159. Which have a <card_impact: yyy> that see the 3 cards of the top of my deck, pick one, and add it to the hand.
The problem is that before I can pick the 3 cards from my extra deck, the 3 cards of the top of my deck will appear in the choice windows, and now the game is asking me to pick what card I want to add to my hand, and that include the cards of my extra deck of the first impact. Making it a completely mess.
The problem seems to be that the Follow-up Skill script doesn't wait for other choice windows and/or skills to resolve before applying itself. Is there some way to add a "wait" method to the follow-up script to check if a choice window is on screen?
Thanks again in advance, and sorry if I'm not good to explain myself!
As I said in the post above, I'm using a card game script
When I create a card with a <card_impact:> and that same card has a "follow-up" skill with yanfly follow-up scirpt, it will add the <card_impact:> of that skill to the current card impact.
This is the regular window for the first card impact:

But then, after 1 second before I can even pick the card/s for the current impact, the next skill of the follow up will add the cards of the next impact.

Sorry, I'm not that good to explain myself correctly. The example here is the next:
Skill ID 158 has a <card_impact: xxx> that will pick 3 cards from my extra deck, and send them to the gy. After that, I want it to make a follow-up to skill 159. Which have a <card_impact: yyy> that see the 3 cards of the top of my deck, pick one, and add it to the hand.
The problem is that before I can pick the 3 cards from my extra deck, the 3 cards of the top of my deck will appear in the choice windows, and now the game is asking me to pick what card I want to add to my hand, and that include the cards of my extra deck of the first impact. Making it a completely mess.
The problem seems to be that the Follow-up Skill script doesn't wait for other choice windows and/or skills to resolve before applying itself. Is there some way to add a "wait" method to the follow-up script to check if a choice window is on screen?
Thanks again in advance, and sorry if I'm not good to explain myself!