The text in green is the main thing I need answered :tongue:
Hey guys :smile:
I have a question on how to event something, so hopefully the answer will be fairly simple.
I have minigame where you are in a caravan. but a gang of thieves are trying to chase you. So, if the thieves get within about 3 tiles behind the caravan, you can shoot them with arrows. (Otherwise the arrow will shoot, but not hit anything). I have an arrow characterset, which will shoot when you press a certain button. But if they (the thieves) get too close (Being 1 tile next to the caravan), they can start to attack the caravan...
You can dash for a short amout of time to get the thieves off your back. If they get on the sides of the caravan, thats where they can attack. So at that time you would use dash to keep them behind you so you can shoot them with arrows.
The caravan moves through a map as the thieves follow, the movement is automatic, all you can do really is shoot the thieves.
I don't know how to make this all work. I have some ideas..and most of it I know how to do.
I just need to know, how to check when the arrow hits a thief, when a thief is within 3 spaces behind the caravan, and how to check if the thieves are right by the caravan so they can attack it.
If you need more info, just ask
Any ideas? :smile:
Sorry if anything is unclear
Hey guys :smile:
I have a question on how to event something, so hopefully the answer will be fairly simple.
I have minigame where you are in a caravan. but a gang of thieves are trying to chase you. So, if the thieves get within about 3 tiles behind the caravan, you can shoot them with arrows. (Otherwise the arrow will shoot, but not hit anything). I have an arrow characterset, which will shoot when you press a certain button. But if they (the thieves) get too close (Being 1 tile next to the caravan), they can start to attack the caravan...
You can dash for a short amout of time to get the thieves off your back. If they get on the sides of the caravan, thats where they can attack. So at that time you would use dash to keep them behind you so you can shoot them with arrows.
The caravan moves through a map as the thieves follow, the movement is automatic, all you can do really is shoot the thieves.
I don't know how to make this all work. I have some ideas..and most of it I know how to do.
I just need to know, how to check when the arrow hits a thief, when a thief is within 3 spaces behind the caravan, and how to check if the thieves are right by the caravan so they can attack it.
If you need more info, just ask
Any ideas? :smile:
Sorry if anything is unclear