The idea is a unit, that after a certain event is turned into PW points. I know that this may sound strange, but do any of you modders think it is possible? If so, what do you think the best path for implementing it into a scenario/mod would be?
Announcement
Collapse
No announcement yet.
Converting units to PW
Collapse
X
-
Sure it's possible. All that's required is to kill the unit (KillUnit(tmpUnit);) and add PW points (pw = player[5].publicworkslevel; SetPW(tmpPlayer, (pw + bonus);). If you want to make the amount of PW you get dependant on the cost of the unit, use UnitDB(tmpUnit.type).ShieldCost.
-
why public works you can mod it to gold as well just use the
givegold(player, amount);
command"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
Comment
Comment