- Joined
- Sep 4, 2015
- Messages
- 7
- Reaction score
- 0
- First Language
- English
- Primarily Uses
Hey! I'm stuck trying to solve a problem. In my game my character can casts spells on map and I'm trying to make it when the spell event and enemy event collide they both dissapear.
I thought of solving this problem with using control variable -> game data -> map ID but it still doesn't work.
Both the spell and the enemy have their own seperate variables (spellpos and enemypos) set to map ID. Maybe that's why? I'm unsure if the game would have saved those two variables as their own map IDs.
anyway here's some screenshots
magic blast event page. As you can see there is the variable set to it's map ID
Enemy event page. I made it so that when the magic blast and enemy touch (basically the conditional is when their map ID matches) It will dissapear or it's control switch will go to A.
This happens instead where the spell just sits next to the enemy and then disappears. The enemy doesn't disappear either.
I hope that makes what I have a problem with clear! Also I'm really really sorry if an answer like this has been asked before. This is my first time ever on these forums and I have been searching for a few hours and didn't find anything.
I thought of solving this problem with using control variable -> game data -> map ID but it still doesn't work.
Both the spell and the enemy have their own seperate variables (spellpos and enemypos) set to map ID. Maybe that's why? I'm unsure if the game would have saved those two variables as their own map IDs.
anyway here's some screenshots
magic blast event page. As you can see there is the variable set to it's map ID
Enemy event page. I made it so that when the magic blast and enemy touch (basically the conditional is when their map ID matches) It will dissapear or it's control switch will go to A.
This happens instead where the spell just sits next to the enemy and then disappears. The enemy doesn't disappear either.
I hope that makes what I have a problem with clear! Also I'm really really sorry if an answer like this has been asked before. This is my first time ever on these forums and I have been searching for a few hours and didn't find anything.
Last edited by a moderator:

