Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Anachron said:Open-source systems should never be optional.
optional keyword for then?set someProj.activeUnitCollision = false the projectile will not longer execute the .onUnitCollision interface method.method onFinish
method onBirth
method onUnitCollision
method onGround
boolean activeUnitCollision
boolean activePitchRotation
onLoop virtual method (since it is very inefficient), and should typically be used with the dummy.mdx model with various pitch animations.real collision
real scale
real timescale
doLaunch which takes various parameters to setup the projection sequence. It uses vectors for the starting point/ending point however if the ending point is changed in the middle of the flight it will activate projectile "homing". projectile is a data-struct that can be extended, opening the door to any user-customizations. By default, the projectile struct doesn't require a "source" unit or a "target" unit, instead these things can be added by extending the struct. For example:struct war3missile extends projectile
unit source = null
unit target = null
method onFinish takes nothing returns nothing
call UnitDamageTarget(source, target, ...)
call .destroy() //* If .onFinish is not declared, this is done automatically.
endmethod
endstruct
projectile struct he/she can pretty well do whatever he/she wants with it. private stub method onUnitTouch takes unit theUnit returns nothing
endmethod
private stub method onCollide takes thistype theCollider returns nothing
call .destroy()
endmethod
private stub method onFly takes nothing returns nothing
endmethod
private stub method onStart takes nothing returns nothing
endmethod
private stub method onEnd takes nothing returns nothing
endmethod
private stub method accelerate takes nothing returns nothing
set .moveSpeed = .moveSpeed + CM_PERIOD * .acceleration
endmethod
private stub method flyCheck takes nothing returns boolean
return true
endmethod
OnStart is after the missle is actually being created.
You can initialize your own stuff at that point.
Congratulation on 700ths post.
Oh yes, onFly is basically every CM_PERIOD seconds.
(Its a global 'public' variable which can be accessed from anywhere)
/me prepares to reject as soon as this comes out.

/me prepares to reject as soon as this comes out.
Hey guys
I have finished another milestone. The first preview comes soon.
I already made homing, target and soon arc and collision detecting comes as well.
Stay tuned.
Rect(GetUnitX(enteringunit), GetUnitY(enteringunit), GetUnitX(enteringunit), GetUnitY(enteringunit))
Eww ):
No more feedback? Guys I need your opinions!
Tell me what you want, I will make it possible.
