Common Event Not Executing On Skill Use

The title says it all. I use a skill and a common event is called, but it is ignored when it shouldn't be. It does however work outside of battle. The skill has the scope of self and the common event is called inside the custom formula box with $game_temp.reserve_common_event(id) within skill(), id replaced with the right common event id. It can also be in the effects box as well and have the same reaction. The common event has no triggers.

(Might need to include a check for equipment in inventory for common event, but that isn't the issue)

Edits: Updated info extensively.

Common Event.jpg

Skill.jpg
Yeah, you need to provide more information.


Are you in battle? Do you have any custom scripts that could be affecting this? Show us a screenshot of your common event. Show us a screenshot of your skill. What's it meant to be doing? Is it doing even a part of it?
Please post a screenshot of the common event and the skill, otherwise we can't search for the cause.

That said - make sure that the common event has no trigger. Triggered CE's cannot be called from a skill.
Yeah, you need to provide more information.

Are you in battle? Do you have any custom scripts that could be affecting this? Show us a screenshot of your common event. Show us a screenshot of your skill. What's it meant to be doing? Is it doing even a part of it?
 

Please post a screenshot of the common event and the skill, otherwise we can't search for the cause.

That said - make sure that the common event has no trigger. Triggered CE's cannot be called from a skill.

 
Updated info. Read first post.

Found the problem: I already have a common event being called in the script every turn. When I commented it out it worked. Any ideas on how to make 2 of them work somehow?
Please give an updated skill screenshot, as that screenshot shows a skill that has no common event call.

Also, it would be nice to get full screenshots - sometimes the ID does matter for effects.

Additionally, please show us the script where you define the $equipment_table - the script command box has some pecularities, and if that is defined wrong there will be no access to that data. Or rather the first half (outside battle) would look as if it happens, but the data would be discarded and not stored - and then be nonexistent in the second part of the event (inside battle)

(this includes if you haven't defined $equipment_table outside the script box - you can't do global definitions from inside the script command box)
Please give an updated skill screenshot, as that screenshot shows a skill that has no common event call.

Also, it would be nice to get full screenshots - sometimes the ID does matter for effects.

Additionally, please show us the script where you define the $equipment_table - the script command box has some pecularities, and if that is defined wrong there will be no access to that data. Or rather the first half (outside battle) would look as if it happens, but the data would be discarded and not stored - and then be nonexistent in the second part of the event (inside battle)

(this includes if you haven't defined $equipment_table outside the script box - you can't do global definitions from inside the script command box)
The common event call is inside skill(). I found the problem, it has to do when I call 2 common events. One in the scripts and another from the skill inside a method.

I think I have a way to solve this, but I would like to know if there is a way to use 2 common events at the same time... :/
yes, you can only call one common event per skill - the second call will be ignored.
I think I'll just port over the common event to a script. It doesn't need to be a common event anyway.
If you need it to call two common events, why don't you just combine the contents of both of them into a single one?


Or have one common event do a Call Common Event command to run the second one as well.

Original thread: https://forums.rpgmakerweb.com/threads/common-event-not-executing-on-skill-use.42898/