Page 1 of 1

request for no repair tag

Posted: 15 Jan 2010, 21:00
by 1v0ry_k1ng
is there any possibility of a tag that makes a unit unrepairable?
orders to repair said unit are ignored and dragging a repair circle over the unit does not give a repair order.
basicly cantargetground=1; but for repairing

Re: request for no repair tag

Posted: 15 Jan 2010, 21:03
by Neddie
Same with capture.

Re: request for no repair tag

Posted: 15 Jan 2010, 23:20
by smoth
I am pretty sure there is such a thing, can assist or soemthing..

Re: request for no repair tag

Posted: 15 Jan 2010, 23:32
by Pxtl
smoth wrote:I am pretty sure there is such a thing, can assist or soemthing..
They're talking about whether or not a unit can be repaired - the canrepair/canassist/etc describe whether a unit can do the repairing.

Re: request for no repair tag

Posted: 15 Jan 2010, 23:59
by Kloot
CUnitDefHandler::ParseUnitDefTable wrote:

Code: Select all

ud.capturable  = udTable.GetBool("capturable",  true);
ud.repairable  = udTable.GetBool("repairable",  true);

Re: request for no repair tag

Posted: 16 Jan 2010, 00:14
by Gnomre
Oh right, I think I asked Tobi to add it the last time it came up and forgot about it

Sorry Ivory :D

Re: request for no repair tag

Posted: 16 Jan 2010, 02:29
by smoth
ah, that's the one, thanks kloot.

Re: request for no repair tag

Posted: 16 Jan 2010, 11:50
by imbaczek
i remember adding it about a year ago when i accidentally repaired a machine gunner with a crane in s44 ;p