As near as I can interpret, the OnUninstall event serves up the following variables for use w/in an event handler:
gSource: The object that the item is being uninstalled from
gItem: The item being uninstalled
Do I have these right?
And if this was an armor segment, does either of these variables tell me what segment was removed?
<OnUninstall>
-
- Fleet Officer
- Posts: 1533
- Joined: Tue Mar 22, 2011 8:43 pm
- Location: Alaska
- Contact:
kinda : yes :steelwing wrote:As near as I can interpret, the OnUninstall event serves up the following variables for use w/in an event handler:
gSource: The object that the item is being uninstalled from
gItem: The item being uninstalled
Do I have these right?
just remember Cargo Space is everything.
Flying Irresponsibly In Eridani......
I don't like to kill pirates in cold blood ..I do it.. but I don't like it..
I don't like to kill pirates in cold blood ..I do it.. but I don't like it..
OK. And if that was an armor segment that was removed, does either of these tell me which segment?shanejfilomena wrote:kinda : yes :steelwing wrote:As near as I can interpret, the OnUninstall event serves up the following variables for use w/in an event handler:
gSource: The object that the item is being uninstalled from
gItem: The item being uninstalled
Do I have these right?
just remember Cargo Space is everything.
-
- Fleet Admiral
- Posts: 2876
- Joined: Thu Feb 03, 2011 5:21 am
- Location: Hmm... I'm confused. Anybody have a starmap to the Core?
Check if gArmorSegment exists in <OnUninstall>.
If you don't mind hacking the effect, you could always install the uninstalled segment every time it is uninstalled.
If you don't mind hacking the effect, you could always install the uninstalled segment every time it is uninstalled.
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.
-
- Militia Captain
- Posts: 779
- Joined: Wed Nov 18, 2009 1:01 am
- Location: Still looking for the csc Antarctica
- Contact:
on irc we told him to make the armor mass 1 and the max armor mass on the ship 1, that way no other armor plates would fit it




"Dash_Merc - George is a genius, in that he created this game engine that is infinitely extendable"
"<@sheepluva>Good night everybody, may the source be with you." <-- FOSG dev
"You only need THREE tools in life - WD-40 to make things go, Duct Tape to make things stop And C-4 to make things go away"