The missile system in general only two Vector a starting position, an end position, rogueteddybear's AdvancedProjectile has three positions, which the fundamental and other missile systems.The formula is not the same as normal missile system, I have written one, I want the three positions of the...
I do not want to discuss who the system more efficient, I just want a self-defined curve-missile system in the missile system, I have ever seen the other system can be custom curve, the biggest problem is the system of the formula used is very complex, if used in the game, will cause the game to...
I am very sorry, because I do not agree with some of your views,I have updated some new functions, the cone function can not be used for the detection unit facing for the function is used to Assassin skills， CheckUnitPosition function Assassin skills can use the extended functions
I Know already have a lot Projectile system, but this Projectile is much powerful and complex,
also has a lot problem. If Projectile Have a target ,this system often rotate around target for a for a while...
function GetUnitAngle takes unit a, unit b returns real // - Angle between units
return Atan2(GetUnitY(b) - GetUnitY(a), GetUnitX(b)- GetUnitX(a))
private function GetAngleDifference takes real a1, real a2 returns real
local real x
function GroupEnumUnitsInSector2 takes group whichGroup,unit u,real angle,real facing,real radius returns nothing
local real x = GetUnitX(u)
local real y = GetUnitY(u)
local real face = Deg2Rad(facing*0.5)
local unit v
local group g = CreateGroup()...
This is my revised code，
// The code is as Fire Breath
function AngleDifference takes real angle, real angle1, real angle2 returns boolean
local real x
set angle = ModuloReal(angle,360)
set angle1 = ModuloReal(angle1,360)
set angle2 = ModuloReal(angle2,360)...
vJass interface has a big bug,handle can't clear,interface base on use trigger array ,when interface use it,begin create a new trigger,this trigger not stack,so handle start glow.
Projectile 0.26 has this problem,you can download Jesus4Lyf's AgentStats check it.
How to fix this problem?
method operator unitHitRadius= takes real value returns nothing
if this.allowUnitCollisions then
if this.unitTrig != null and this.uColl != value and value != 0.00 then
function DoesQuadContainOrigin takes real x1, real y1, real x2, real y2, real x3, real y3, real x4, real y4 returns boolean
local integer counter = 0
if (x1-x2)*y1 < x1 * (y1-y2) then
set counter = counter + 1
if (x2-x3)*y2 < x2 *...
Attack count system ,I know name a little silly,Like use 7 count do CriticalStrike ,it's a system can be replace chance passive ability.
Animation system it's 3D combo move system,only use in Diablo3 for now,
In Diablo3 max Animation was 7. in WC3 it's hard use ,for me only know use in...
As people konw,LoL is icefrog's new game ,this game use a lot count attack ability ,just like damage 1 time do something ,2 time do something,then let count go 0, maybe people say this so easy ,I know,I just think a system manage it .Animation System it's little hard original idea is from...