Are they possible? Whenever I try to add a ranged weapon to a banner carrier it won't use it. The closest I've got is making a fake banner carrier by slaving a unit to a horde when it reaches level 2, but it's really glitchy and not a great fix at all.
Ranged banner carriers?
Posted 03 August 2013 - 11:30 PM
How would you like it to function? I have a "banner carrier" for my Haradrim Archers that is essentially an archer with a banner thingie on his back. Here is a picture.
Basically what I did was to make a ChildObject for the HaradArcher.
ChildObject HaradArcherBanner HaradArcher CommandPoints = 0 EquivalentTo = HaradArcher DisplayName = OBJECT:HaradBanner KindOf = PRELOAD SELECTABLE CAN_CAST_REFLECTIONS INFANTRY PATH_THROUGH_EACH_OTHER SCORE THROWN_OBJECT ATTACK_NEEDS_LINE_OF_SIGHT ARCHER GRAB_AND_DROP Behavior = BannerCarrierUpdate BannerCarrierUpdateModuleTag IdleSpawnRate = 10000 MeleeFreeUnitSpawnTime = 20000 DiedRespawnTime = 10000 MeleeFreeBannerReSpawnTime = 20000 End Behavior = AIUpdateInterface ModuleTag_03 AutoAcquireEnemiesWhenIdle = Yes ATTACK_BUILDINGS StopChaseDistance = 642 CanAttackWhileContained = Yes AILuaEventsList = HaradArcherBannerFunctions MinCowerTime = 8000 MaxCowerTime = 10000 AttackPriority = AttackPriority_Archer End End
I assume this is what you're after?
Shadow and Flame BETA 0.6 RELEASED - Link
Posted 03 August 2013 - 11:49 PM
If I copy your code exactly except changing your unit to my unit and use it as the banner carrier, he will just stand there while the rest of the horde is shooting the enemy, and will never attack.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users