In the Trans XML, I only ever see it used on ships. Does it work for stations? Given that targetObj is a station, I've tried (objRepairArmor targetObj 0), (objRepairArmor targetObj Nil) and (objRepairArmor targetObj 1) with no success. None of them repair the station.
?
EDIT: This question is still technically open, but (objSetProperty targetObj 'hp (objGetProperty targetObj 'maxhp)) will work correctly. If you don't want a full repair, you can do math to it.
objRepairArmor on stations?
- Shivan Hunter
- Commonwealth Pilot
- Posts: 81
- Joined: Tue Nov 29, 2011 3:07 am
I'm here to shift paradigms and chew bubblegum... and I'm all out of bubblegum.
<+The_Shrike> If you install 2 solar panels, you will have 2 solar panels installed.
<DarthGeek|2>
<+The_Shrike> If you install 2 solar panels, you will have 2 solar panels installed.
<DarthGeek|2>

-
- Fleet Admiral
- Posts: 2876
- Joined: Thu Feb 03, 2011 5:21 am
- Location: Hmm... I'm confused. Anybody have a starmap to the Core?
I don't think so since they don't have armorsegments.
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat


Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
Get on Discord for mod help and general chat


Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.