What would be a list of steps to use this in a map? I have:
1. Saved the LUA file in map directory
2. Put the code in a blank text trigger
3. Uncommented object merger line
4. Saved successfully, including object merger
5. Commented out object merger line
6. Made a function to put a unit in the system:
Jass:
call CreateUnitProperties(hero) //hero being a unit variable holding a hero
7. Tried modifying the units properties:
Jass:
call UnitModifyArmor(hero, 100)
But this does not work, perhaps I am missing something simple?