Welcome Guest ( Log In | Register )

[ Big| Medium| Small] -



Post new topic Reply to topic  [ 2 posts ] 
    dac420
  Thu Jan 23, 2014 5:58 am
www.Dac420.com - Project Page
''Society'' Life is Currupt
User avatar
Member

Party Mascot
I have my enemy set up but I want him to attack me if I attack him first. I have it at the moment if u talk to him twice he will
get pissed off and attack you.

I want to have it so I can do both. if you attack him with a weapon he will defend himself. and also talk to him and he will start the fight.

Im using falcao liquid abs sytle fighting if that helps you guys :D thanks


Top Top
Profile      
 

    Stardust
  Sat Jan 25, 2014 1:56 am
<3 Army of Love <3
User avatar
Retired Staff

Sewer Rat

Location: NY
I'm not entirely sure how the whole system works, but you could try creating a parallel process event that checks the enemy's HP. If the player has attacked him, I'm assuming his HP would drop. If he isn't injured just from an attack before speaking to him, you could do a slightly complicated system of using variables to record the player's position and using a parallel event to check if the player is in a location near the NPC and they press the attack button. o: I believe you can also record the player's direction with a variable. I'm not at my desktop to check this all, but those are some ideas for directions you could try taking to solve this. :3

_________________
Avatar by the very talented Lissy Elle!


Top Top
Profile      
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


Who is online

Users browsing this forum: No users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

We are an independent, not-for-profit game making community.
Homepage
Board Index
About Us
Downloadable Games
Free Browser Games
Games in Development
RPG Maker Support
Game Maker Support
Construct 2 Support
HBGames the eZine
Advanced RPG Maker
Site Announcements
Powered by phpBB © phpBB Group