Hello,
Does anyone know how to repair an object without doing nothing ?
I use the search function, but I did not find anything.
Thank you in advance for your help
Automatic repair for an object [Solved]
Moderator: Moderators
- Grievous
- Private
- Posts: 36
- Joined: Fri Sep 07, 2012 3:54 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
-
Bob
- Brigadier General

- Posts: 633
- Joined: Thu May 27, 2010 4:28 am
- Location: at home
Re: automatic repair for an object
Open the objects ODF, put
under [Properties] and insert a number between the two "'s. This number is the amount of health that is regenerated every second, default is (obviously) 0.
Now your object, be it a unit, a building or something else that has health, will get it's health back without someone doing anything.
Code: Select all
AddHealth = ""Now your object, be it a unit, a building or something else that has health, will get it's health back without someone doing anything.
- Grievous
- Private
- Posts: 36
- Joined: Fri Sep 07, 2012 3:54 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: automatic repair for an object
I tried to add AddHealth = "" in the ODF file, but the object can not be repaired in the game.
Would I forget something ?
Would I forget something ?
Hidden/Spoiler:
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: automatic repair for an object
Do you mean after the object has been destroyed? If so, add RespawnTime = "", obviously putting some number in the quotations, which, actually aren't required for most if not all numerical values.
- Grievous
- Private
- Posts: 36
- Joined: Fri Sep 07, 2012 3:54 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: automatic repair for an object
thank you it works
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
