Thor7 Posted March 25, 2012 Author Share Posted March 25, 2012 Hi all,I was wondering if there was a simple way of changing the attack system. Basically im trying to create a system that when a player character goes to "Target" an NPC or Player he can attack the "Target" if his weapon is in range.So if a weapon has a range of 1, a player can attack any targeted NPC or player 1 sqaure around him like so:P = PlayerX = Weapon Attack RangeXXXX**P**XXXXSo if a range is 2:XXXXXXXXXXXX**P**XXXXXXXXXXXXSo the attacking player has to select a "Target", and if it is in range of "Weapons Range" he can attack, still by holding down "CTRL". But a player can on attack if a player has a target otherwise attackin (Holding CTRL) wont work and state something like "Select a Target". This means a player can still select his allies to cast spells and such, but can only attack 1 target at a time with in weapons attack range.With this a use of a arrows come, just without showing of flight of arrow, but can still show some kind of arrow animation on attack. Opens up loads of possibilites. I would say have weapon range upto around 30 for the use of archery.Any ideas to this, or help to point me in right direction would be much appreciated. Not the best at VB but willing to learn :)I currently using: CE:DE (Samu Mod)ThanksĀ :cheesy: Link to comment Share on other sites More sharing options...
Thor7 Posted March 27, 2012 Author Share Posted March 27, 2012 *Bump*Take it this is a stupid question :p Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now