How do I change things based on Race and Class?

I'm sure I'm just missing something quite simple but I don't see options for either Race or Class in the conditionals dialog. How then do I assign different graphics to a character based on Race, or have NPCs react differently to different classes?

------------------
(url="http://"http://www.thoughtslop.org")thought|slop(/url)

Quote

Originally posted by sanko:
I'm sure I'm just missing something quite simple but I don't see options for either Race or Class in the conditionals dialog. How then do I assign different graphics to a character based on Race, or have NPCs react differently to different classes?

For some reason, conditionals do not have the global placeholders for either of these variables. However, there is hope.

Create 2 new globals: &&player;_class and &&player;_race

When your character is created and sent to your starting town, use a global change to set the value of these globals to the value of &&Job; and &&Race.;

From then on use your two new globals in your conditionals.

------------------
(url="http://"http://stark.evula.net/pogwalkthrough.htm")PoG Walkthrough and Compendium(/url) | (url="http://"http://stark.evula.net/plugins/dev_tools.htm")PoG Dev Tools(/url) | (url="http://"http://stark.evula.net/plugins/spells_expander.htm")Spells Expander(/url)
(url="http://"http://stark.evula.net")Stark.evula.net(/url) | (url="http://"http://www.evula.net")EVula.net(/url) | (url="http://"http://mail.ambrosiasw.com/mailman/listinfo/coldstone_dev")Coldstone-dev mailing list(/url) | (url="http://"http://ucplugs.evula.net/pog.html")PoG Upcoming Plug-Ins Directory(/url)

Fantastic. Many thanks.

------------------
(url="http://"http://www.thoughtslop.org")thought|slop(/url)