On editing.. wait for a moment

Like our Facebook Page: https://www.facebook.com/spiralmech

Email us for Suggestions or Questions: spiralmech@gmail.com

Email us for Suggestions or Questions: spiralmech@gmail.com

Area Calculation |

On editing.. wait for a moment Like our Facebook Page: https://www.facebook.com/spiralmech Email us for Suggestions or Questions: spiralmech@gmail.com 05-20-2016, 09:50 AM Okay this can be done fairly simply, the main hitch is working out the directions and even number targeting. this best works with odd number targets. Here is the basic idea you want to do. Code: `int range = player.range;` There is a way to improve the code but it will take me a bit longer to actually work out. This uses the attacking player's position as to the middle of the attack which would be a better location to do the calculations from, I will post the alternative in a few minutes. This is quite similar to what i made i guess, i'll just use it then.. Thanks~ Like our Facebook Page: https://www.facebook.com/spiralmech Email us for Suggestions or Questions: spiralmech@gmail.com 05-20-2016, 09:59 AM Here is the revised version using a formula that targets players from the middle out. Code: `int range = player.range;` |

Users browsing this thread: 1 Guest(s)