- Joined
- May 16, 2019
- Messages
- 102
- Reaction score
- 28
- First Language
- English
- Primarily Uses
- RMMV
Okay - been wrestling with this problem for a while and have resisted asking for help because I felt it was too complex an issue for me to even explain, much less get help with - but here goes.
I have been making a Star Trek fan game. In one part of the game, I developed a first person space ship battle - which I am mostly very proud of. However, I wanted the Enterprise to fire torpedos, but to have those torpedoes run out. I created an event in the corner of the screen where upon pressing the F key (using Yep_ButtonCommonEvents plugin) it would switch on a common event that shoots a heat seeking torpedo toward the enemy ship.
I thought I did the write eventing to ensure that once you have used up your three torpedoes, the game would read that you had none, and not fire a torpedo, but for some reason, it just keeps allowing you to fire. torpedoes, which is a problem as the torpedoes are very powerful and unlimited torpedoes would make the fight too easy for the player. You can re-load torpedoes, but only by asking your tactical officer to do so, and it takes 15 seconds for them to re-load.
Oh, and to explain some of the other eventing in this text, it is set so that the enemy ship has a shield that needs to be decreased, etc.
Anyway - I have included screen captures of my eventing in the hopes that someone can see what I have done wrong.



I have been making a Star Trek fan game. In one part of the game, I developed a first person space ship battle - which I am mostly very proud of. However, I wanted the Enterprise to fire torpedos, but to have those torpedoes run out. I created an event in the corner of the screen where upon pressing the F key (using Yep_ButtonCommonEvents plugin) it would switch on a common event that shoots a heat seeking torpedo toward the enemy ship.
I thought I did the write eventing to ensure that once you have used up your three torpedoes, the game would read that you had none, and not fire a torpedo, but for some reason, it just keeps allowing you to fire. torpedoes, which is a problem as the torpedoes are very powerful and unlimited torpedoes would make the fight too easy for the player. You can re-load torpedoes, but only by asking your tactical officer to do so, and it takes 15 seconds for them to re-load.
Oh, and to explain some of the other eventing in this text, it is set so that the enemy ship has a shield that needs to be decreased, etc.
Anyway - I have included screen captures of my eventing in the hopes that someone can see what I have done wrong.










