Way to check what dockscreen in GetGlobalDockScreen?

Freeform discussion about anything related to modding Transcendence.
Post Reply
RPC
Fleet Admiral
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'm wondering since I have to override the nami auton dockscreen. It's not a station I can check in GetGlobalDockScreen. I don't want to override the item either since all of the action is going to happen in the dockscreen anyways.

I want a way to check if the dockscreen being called will be the nami auton dockscreen so that I can insert my custom dockscreen instead of overriding the nami auton dockscreen.

*EDIT
Thanks to AssumedPseudonym for pointing out original text made semi sense.
sleep depvriation wrote:I'm wondering since I have to override the nami auton dockscreen since it's not a station I can check and I don't want to override the item since all of the action is going to happen in the dockscreen anyways.
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
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.
User avatar
AssumedPseudonym
Fleet Officer
Fleet Officer
Posts: 1215
Joined: Thu Aug 29, 2013 5:18 am
Location: On the other side of the screen.

 …I actually needed to enlist my wife’s help to make sense of the original post. Lemme see if I can punctuate that. *Ahem.*

 “I'm wondering, since I have to override the nami auton dockscreen (since it's not a station I can check), and I don't want to override the item since all of the action is going to happen in the dockscreen anyways.”

 …Sorry, she made me post this one, RPC… ^.^;
Image

Mod prefixes: 0xA010 (registered) and 0xDCC8 (miscellaneous)

My mods on Xelerus: Click here!

Of all the things I’ve lost in life, I miss my mind the least. (I’m having a lot more fun without it!)
TVR
Militia Commander
Militia Commander
Posts: 334
Joined: Sat Sep 08, 2012 3:26 am

Try this:

Code: Select all

<OnGlobalPaneInit>
	(if (eq aScreenUNID (itmGetUseScreen &itNamiCustomAuton;))
		(scrShowScreen gScreen &dsOverrideScreen;)
	)
</OnGlobalPaneInit>
Fiction is reality, simplified for mass consumption.
PGP: 0x940707ED, 5DB8 4CB4 1EF5 E987 18A0 CD99 3554 3C13 9407 07ED
Bitcoin: 1LLDr7pnZDjXVT5mMDrkqRKkAPByPCQiXQ
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

Thanks TVR! :D
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
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.
Post Reply