I'm trying to show the damage of a tower in the tooltip, without writing it in manually. The only thing I could find similar to it was the ghost's upgrade:
<d ref="Upgrade,GhostMoebiusReactor,EffectArray[0].Value"/>
I took a screenshot, the 0's on the left are the actual formula's result, obviously giving an error because they should say 5. On the right is the formula I used to show the damage. What should I do?
I turned on "Show raw data" to find the object ID's, and tried a large combination of text. But I can't get it to show up. It's probably simple, but I can't figure it out. I am not sure what I am doing wrong.
Here's a neat trick: You can show damage per second as <d ref="Effect,YourDamageEffectHere,Amount / Weapon,YourWeaponHere,Period"/>
You can leave out the precision if you want, that just makes it use up to 2 decimal places before rounding (by default it rounds to the nearest whole number.)
I'm trying to show the damage of a tower in the tooltip, without writing it in manually. The only thing I could find similar to it was the ghost's upgrade: <d ref="Upgrade,GhostMoebiusReactor,EffectArray[0].Value"/>
I took a screenshot, the 0's on the left are the actual formula's result, obviously giving an error because they should say 5. On the right is the formula I used to show the damage. What should I do?
http://radleygh.com/images/chrome_2010-258-08-23-49-70.png http://radleygh.com/images/chrome_2010-258-08-31-48-98.png
I turned on "Show raw data" to find the object ID's, and tried a large combination of text. But I can't get it to show up. It's probably simple, but I can't figure it out. I am not sure what I am doing wrong.
Here is the code from the tooltip:
Standard issue human machine gun turret.
Damage: Effects,AutoTurret2,CEffectDamage_Amount Range: AutoTurret2,CWeapon_Range Speed: Weapons,AutoTurret2,CWeapon_Period
AutoTurret2,CWeapon_Period (AutoTurret2,CWeapon_Period) AutoTurret2,CWeapon_Period.Value (AutoTurret2,CWeapon_Period.Value) Weapon,AutoTurret2,CWeapon_Period.Value (Weapon,AutoTurret2,CWeapon_Period.Value) Weapon,AutoTurret2,CWeapon_Period[0].Value (Weapons,AutoTurret2,CWeapon_Period[0].Value) Weapon,AutoTurret2,CWeapon_Period[0] (Weapons,AutoTurret2,CWeapon_Period[0])
@Radgh: Go
<d ref="Effect,YourDamageEffectHere,Amount" precision="2"/>
<d ref="Weapon,YourWeaponHere,Range" precision="2"/>
<d ref="Weapon,YourWeaponHere,Period" precision="2"/>
Here's a neat trick: You can show damage per second as <d ref="Effect,YourDamageEffectHere,Amount / Weapon,YourWeaponHere,Period"/>
You can leave out the precision if you want, that just makes it use up to 2 decimal places before rounding (by default it rounds to the nearest whole number.)