Hello
I did TD things through GUI. I´m trying to learn little bit of Jass coding because of flexibility and clarity. I read tutorials and did researches but i can´t figure out some stuff.
Now i transfer some triggers to Jass in current state of map because its "hard" to maintenance and do corrections
My goal is to create easy towerdefence.
I did wave code where i create unit and changing the unit properies. It all works because i changing LastCreateUnit properties. All from changing Footmans : skin, armorType, armor, hp etc via call BlzSetUnit...
I wonder. Can i set towers properties when map is initializing? I tried some code but not working ( something with BlzSetUnitWeaponIntegerFieldBJ, UNIT_WEAPON_IF_ATTACK_DAMAGE_BASE ). I did code where properties are done when construct/upgrade is done with condition IF but it isn´t solution what i´m looking for.
Thank you for help
I did TD things through GUI. I´m trying to learn little bit of Jass coding because of flexibility and clarity. I read tutorials and did researches but i can´t figure out some stuff.
Now i transfer some triggers to Jass in current state of map because its "hard" to maintenance and do corrections
My goal is to create easy towerdefence.
I did wave code where i create unit and changing the unit properies. It all works because i changing LastCreateUnit properties. All from changing Footmans : skin, armorType, armor, hp etc via call BlzSetUnit...
I wonder. Can i set towers properties when map is initializing? I tried some code but not working ( something with BlzSetUnitWeaponIntegerFieldBJ, UNIT_WEAPON_IF_ATTACK_DAMAGE_BASE ). I did code where properties are done when construct/upgrade is done with condition IF but it isn´t solution what i´m looking for.
Thank you for help