a little problem

Started by Zeroster, February 10, 2015, 03:37:31 PM

Previous topic - Next topic

Zeroster

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 ^^)

Hubs

You probably want to use SetUnitAttribute. Look under GetUnitAttribute for a list of the unit attributes. I think you'll want to change CONST_HEALTH and CONST_MAXHEALTH.

Zeroster

oke finished it thank you very much