Hi everyone,
I absolutely need your help not to go crazy.
I am making an educational game with my students, a school project. We have reduced the RPG elements in favour of ambient interaction, still there are some battles in the game. I modified the battle to make the player have to answer a question to hit the enemy, otherwise the enemy will give the player a penalty hit.
I managed to do this by coding some behaviour in the battle turn, and building a "question database" in a Common event.
In the two pictures you can see it (I put english comments to make it easy to understand as it is italian/spanish, it is very simple but if you have problems fell free to ask).
It works fine, but something very strange occurs when I copy-and-pasted the enemy to make others different in aspect and database: what it happens is that in the copied event the question is repeated twice in each turn, and the player have to answer TWO question. Why this occurs?
I run into another variant of this problem, even stranger: just by copy-and-pasting to create a new enemy but without changing a single thing, not only the double question issue repeated, but one question was taken from one common event/database, the other from a different one, I mean from another common event. How is it possible for an event to be called if not appearing in code????
What is going on??
I tried to see if this is map-related, but no: in the same map I have two identical enemies, one working fine, the other with this "double question" issue..
This is driving me insane, I have no explications for this, can you help me please?
Many, many thanks in advice, have a good day!
I absolutely need your help not to go crazy.
I am making an educational game with my students, a school project. We have reduced the RPG elements in favour of ambient interaction, still there are some battles in the game. I modified the battle to make the player have to answer a question to hit the enemy, otherwise the enemy will give the player a penalty hit.
I managed to do this by coding some behaviour in the battle turn, and building a "question database" in a Common event.
In the two pictures you can see it (I put english comments to make it easy to understand as it is italian/spanish, it is very simple but if you have problems fell free to ask).
It works fine, but something very strange occurs when I copy-and-pasted the enemy to make others different in aspect and database: what it happens is that in the copied event the question is repeated twice in each turn, and the player have to answer TWO question. Why this occurs?
I run into another variant of this problem, even stranger: just by copy-and-pasting to create a new enemy but without changing a single thing, not only the double question issue repeated, but one question was taken from one common event/database, the other from a different one, I mean from another common event. How is it possible for an event to be called if not appearing in code????
What is going on??
I tried to see if this is map-related, but no: in the same map I have two identical enemies, one working fine, the other with this "double question" issue..
This is driving me insane, I have no explications for this, can you help me please?
Many, many thanks in advice, have a good day!