Hi all.
I want to use powers like Aragorn blademaster, athelas, and other powers without select a target.
How to use them only near other hero or building?
i found codes:
Posted 06 September 2017 - 10:40 PM
Hi all.
I want to use powers like Aragorn blademaster, athelas, and other powers without select a target.
How to use them only near other hero or building?
i found codes:
Posted 20 September 2017 - 07:23 PM
Posted 03 October 2017 - 06:10 AM
You are on the right track
First add an Attribute giving power to the building
check the men statue for codes
it adds an attribute to the unit in the AFFECTS : NONE +UnitNamehere ALLIES
The Attribute then gives an Upgrade
This upgrade triggers a special power button once it is given on your unit
See treebeard coding for this
Now the tricky part
The upgrade must now trigger an upgrade to remove itself
Try the men trebuchet codes
These codes remove an upgrade with a delay after it gets an upgrade
If you do it right and test alot ,you should have the unit ready for the new upgrade
Now the upgrade should trigger a power on the unit of choice ,
If you want it to trigger on an enemy unit , this can also be done
The only limiter is the power cooldown time , as once the unit stands by the building , the unit power should only activate if it is in a ready state
Posted 03 October 2017 - 05:37 PM
Thank you guys! im try)
Edited by Slava Shadrinov, 23 January 2019 - 06:53 PM.
0 members, 0 guests, 0 anonymous users