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
Gwypaas and Dirac are simplier system. I already have one.
rogueteddybear AdvancedProjectile can make NIKE logo curve. like I say have bug,need to fix.
http://www.hiveworkshop.com/forums/graveyard-418/system-advancedprojectile-186566/
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))
endfunction
private function GetAngleDifference takes real a1, real a2 returns real
local real x
set...
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
call TriggerClearConditions(this.unitTrig)
call...