- Joined
- Dec 2, 2013
- Messages
- 25
Hi everyone, I'm trying to use this system :
www.hiveworkshop.com
The goal is to get unit's armor.
But I'm very bad at coding and I don't know how to use it.
It want to be able to use the "real" value of the armor and set it into a variable.
I tried something like this but it didn't works :
set udg_real = call GetUnitArmor(udg_unit)
real = variable (type real)
unit = variable (type unit)
Can someone help me ?
Shrrignien
GetUnitArmor
Hi everyone, library GetUnitArmor initializer init /**************************************************************************************************************** * ~How to configure * - Copy the ability * * ~How to use * - call...

The goal is to get unit's armor.
But I'm very bad at coding and I don't know how to use it.
It want to be able to use the "real" value of the armor and set it into a variable.
I tried something like this but it didn't works :
set udg_real = call GetUnitArmor(udg_unit)
real = variable (type real)
unit = variable (type unit)
Can someone help me ?
Shrrignien