CXOff::HasTargets() Question
-
- Reactions:
- Posts: 1769
- Joined: Mon Mar 29, 2010 9:56 pm
CXOff::HasTargets() Question
Does CXOff::HasTargets() return true only if the target in front of the officer or does it return true if there is a target anywhere around the officer?
I can make this march and I will make Georgia howl.
Re: CXOff::HasTargets() Question
It returns true if any of level 6 subunits under the officer has a target (the direction is not important)
Visit my wargames blog: http://warforgame.blogspot.it/
-
- Reactions:
- Posts: 1769
- Joined: Mon Mar 29, 2010 9:56 pm
Re: CXOff::HasTargets() Question
On a related topic, does CXOff::Fighting() return true if the unit is firing at a target, or does it return true if there is a target in range regardless of direction?
I can make this march and I will make Georgia howl.
Re: CXOff::HasTargets() Question
return true if at least one unit under the officer can fight (is not routed and has men>0) and it is in one of these states:
eUnitLoad
eUnitRam
eUnitShoot
eUnitMelee
eUnitCharge
eUnitAdvance
eUnitFallback
eUnitLoad
eUnitRam
eUnitShoot
eUnitMelee
eUnitCharge
eUnitAdvance
eUnitFallback
Last edited by mitra76 on Tue Jul 14, 2015 9:14 pm, edited 1 time in total.
Visit my wargames blog: http://warforgame.blogspot.it/
-
- Reactions:
- Posts: 1769
- Joined: Mon Mar 29, 2010 9:56 pm
Re: CXOff::HasTargets() Question
Are eUnitLoad or eUnitRam true if the enemy is behind the unit and the unit is unable to rotate to face him?
I can make this march and I will make Georgia howl.
Re: CXOff::HasTargets() Question
they are collateral to the firing so it can happen only if the unit has just stop to fire and still not checked there's not possibility to shot to any possible target
Visit my wargames blog: http://warforgame.blogspot.it/
-
- Reactions:
- Posts: 1769
- Joined: Mon Mar 29, 2010 9:56 pm
Re: CXOff::HasTargets() Question
Does CXOff::HasTargets() return true if the target is blocked?
I can make this march and I will make Georgia howl.
Re: CXOff::HasTargets() Question
If a enemy in range is blocked is not in the target list of unit, but only in his enemy list, so the single unit cannot report true to the officer, but of course if it is not blocked for another unit of officer you will have true from this last.
Visit my wargames blog: http://warforgame.blogspot.it/
-
- Reactions:
- Posts: 1769
- Joined: Mon Mar 29, 2010 9:56 pm
Re: CXOff::HasTargets() Question
Does CXOff::WheelToTarget(CXUnit) cause all the sub-units to rotate towards the target?
I can make this march and I will make Georgia howl.
Re: CXOff::HasTargets() Question
No only the officer
Visit my wargames blog: http://warforgame.blogspot.it/