Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setRepairRate & applyRepair #16

Open
Ragora opened this issue Nov 22, 2015 · 1 comment
Open

setRepairRate & applyRepair #16

Ragora opened this issue Nov 22, 2015 · 1 comment

Comments

@Ragora
Copy link
Member

Ragora commented Nov 22, 2015

Torque3D no longer implements setRepairRate & applyRepair.

setRepairRate(%rate) sets a constant repair rate of %rate per tick (32 milliseconds in Tribes 2).
applyRepair(%repair) applies %repair units of repair until healed or until no units are available over a currently unknown hardcoded rate.

There appears to be no script elements in Torque3D for apply repairs, only damages therefore there does not appear to be any way of emulating this functionality in script.

@Ragora
Copy link
Member Author

Ragora commented Nov 22, 2015

It looks like I either screwed up in actually checking for this or for some reason these exist only in the branches we're using now. Should leave this open until we know which one it was.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant