Hello guys.
some time ago i started learning crpl and started creating maps but now i have a problem.
i want to make crpl emitters (just simple emitters) that must be destroyed with beams. but when i do that their hitpoints go down i 1second and thats to fast. so i want to raise their hitpoints but i don't know how so can somebody help me with this please?
Regards Zeroster (me ^^)
You probably want to use SetUnitAttribute (http://knucklecracker.com/wiki/doku.php?id=crpl:docs:setunitattribute). Look under GetUnitAttribute (http://knucklecracker.com/wiki/doku.php?id=crpl:docs:getunitattribute#unit_constants) for a list of the unit attributes. I think you'll want to change CONST_HEALTH and CONST_MAXHEALTH.
oke finished it thank you very much