Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> Help Making Gun For Enemy, im trying to make an enemy shoot a gun, and then the bullet dissapear
guy68
post Feb 12 2012, 05:13 PM
Post #1



Group Icon

Group: Member
Posts: 1
Type: None
RM Skill: Intermediate




so, i have this stationary enemy, and right in front of him is an event that is a bullet. when variable BOSS BATTLE GUN is set at one, the bullet is set to teleport to a specific spot and quit moving. 1.5 seconds later the variable is set to 2 and it is set to appear and move down vertically. originally the bullet had two pages, one for when its there, and one for when its not. on the page where it's there i have it set for a collision with hero, where it will remove 5 hp and then teleport to the original spot it is shot from, and it will then the variable will then change it to the bullet that isn't there. the only problem i have is that if the player isn't hit by the bullet, it would continue to move up and down vertically until the player gets hit. to try to fix this i made a parallel process page on the bullet event set to after 0.5 seconds the bullet would disappear and teleport to the original spot. i figured this would fix it but now the game disregards the page about the player being hit and instead if you come in contact with it nothing it stays in front of you and does no damage. does anybody know how to fix this.? i know the basics of variables and switches, so if anybody knows anything that would help me with my problem that would be great.
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 19th May 2013 - 03:59 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker