Soldak Home   Drox Operative   Din's Curse   Depths of Peril   Zombasite  

Go Back   Soldak Entertainment Forums > Zombasite > Zombasite
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 10-16-2015, 08:10 PM
ScrObot ScrObot is offline
Join Date: Jun 2012
Posts: 244
Default Quick Mod Question

I've already migrated some of my mods from Drox Operative to Zombasite, all is fine there. Once there is a modding forum, I'll post them.

Currently I'm trying to add an Identify All button to the Equipment window. I've got the button showing, but the IdentifyAll command isn't firing UNLESS the crafting window is open (which also has an Identify All button). I'm guessing if I found a vendor, it'd work then too. Otherwise, clicking it doesn't do anything.

The button itself is functional, because I can change the command to something else (like closing the menu) and it works. The button definition is the same as the Crafting and BuySell (vendor) menus, so I'm not sure what I'm missing here. I've been digging around and I don't see anything that gives specific menus permission to allow Identify All or anything like that.

mergeWith Equipment

// Make Equipment window taller

	position 268.0 178.0
	size 108.0 290.0
	drawOrder -2.9

// Border above new button

	position 274.0 443.0
	size 96.0 2.0
	texture Textures/UI/ARow.tga
	color "0.3 0.6 0.2"
	draworder 10.0

// Identify All

	position 277.0 445.0
	text $$BuySellIdentify$$
	size 90.0 16.0
	hideCondition GuardVendor
	Font SmallDefault
	draworder 4
	highlightTextSource IdentifyAll
	addCommand IdentifyAll
	clickSound Sounds/Items/doneIdentifying.ogg
(I'm sure the hideCondition isn't necessary, but I left it in for testing consistency.)
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT -4. The time now is 10:44 PM.

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright 2007 - 2019 Soldak Entertainment, Inc.