PDA

View Full Version : Personalities Problem.



Oberoten
September 11th, 2008, 09:00
Ehhh... Where are the side-tabs for NPCs defined? I think I kinda accidentially KILLED mine....

Tenian
September 11th, 2008, 11:08
file: adventure_npcs.xml
windowclass: npc
control type: tabcontrol
control name: "tabs"

Oberoten
September 11th, 2008, 16:25
Tested that code, it is identical to what I had before, many thanks for the effort though. I also tried checking if the icons where still present they are, but aren't placed on the sheet.

- Obe

Tenian
September 11th, 2008, 16:35
Hmm...
I believe the graphics file contains the information to link the tab object to the physical OS file. Maybe that's screwed up? It'd be graphics.xml I believe

Oberoten
September 11th, 2008, 16:57
Nope, they are nicely included as they should be in the grapics.xml file.
On the first page of the peronalities I can click the BLANK tab and get it to switch, but it won't return back to where it was before.

.. is the tabcontrol a template? Can I have screwed THAT up?

Oberoten
September 11th, 2008, 17:01
Ahah... I *THINK* I have found something I don't have a topleft anchored... can I somehow replace that?

Oberoten
September 11th, 2008, 18:18
Ripped out the references to the templates and instead coded a new script for switching the tabs...

presto, all done. :)

Foen
September 12th, 2008, 05:58
Glad I could help ;)

Oberoten
September 12th, 2008, 06:24
You are plenty help, heck to be honest my ruleset would have about half of the things working it has now if it wasn'f for your assistance.

- Obe