Jump to content


Photo

Wyrm reposition

mod

  • Please log in to reply
No replies to this topic

#1 Slava Shadrinov

Slava Shadrinov
  • Members
  • 178 posts
  • Projects:The Word Of Tolkien Mod

Posted 02 December 2016 - 08:49 PM

Hi all!

Need help with Wyrm power:
 

;------- TELPORT -------------------------------------------------------------------------------------------
Behavior = SpecialPowerModule ModuleTag_TeleportStarter                      
SpecialPowerTemplate = SpecialAbilityWyrmReposition
UpdateModuleStartsAttack = Yes
End
Behavior = TeleportSpecialAbilityUpdate ModuleTag_TeleportUpdate   
SpecialPowerTemplate = SpecialAbilityWyrmReposition
UnpackTime = 3200 ; diving underground
PackTime = 2100 ; errupting out of the ground
ApproachRequiresLOS = No
DestinationWeaponName = WyrmAppearWeapon ; Fires at point of teleport to push people away and down.
SourceWeaponName = WyrmDisappearWeapon
End
Behavior = AutoAbilityBehavior ModuleTag_AutoAbilityBehavior
SpecialAbility = SpecialAbilityWyrmReposition ; Use this ability
StartsActive = Yes ; Active immediately.
BaseMaxRangeFromStartPos = Yes ; Use the starting position rather than the current.
AdjustAttackMeleePosition = Yes ; Offset attacking position away from large objects.
MaxScanRange = 500 ; Target must be within this range.
MinScanRange = 50 ; Target must be further away than this.
AllowSelf = No
IdleTimeSeconds = 4 ; Must be idle for this long to consider the ability, stops attacks being interrupted.
Query = 1 ANY ENEMIES +INFANTRY -HORDE -SWARM_DOZER ; Infantry first please.
Query = 1 ALL ENEMIES NOT_FLYING_UNITS -SWARM_DOZER ; Then any other enemy.
End


But when i copy this power in another hero and add to commandset: Command_SpecialAbilityWyrmReposition this power dont work
What wrong?





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users