class graphics

how can I make it so that you look diffrent, depending on wich class you choose?

------------------

Quote

Originally posted by osmosisjones:
**how can I make it so that you look diffrent, depending on wich class you choose?

**

Mr. OsmosisJones,

Store the class in a global, and when it comes time to assign a graphic to your hero have a conditional check the global and assign the correct graphic according to the player's class.

This also works if you want to have the players graphic change as the game progresses due to rising level or ranks. You can check the class, and then due to whatever conditions you have set forth can alter the graphic in a class-specific set(ala. PoG's knight quest, and Trinity's expanding of that with the classes doing the knight quest).

Make sense?

------------------
"Usenet is like a herd of performing elephants with diarrhea --
massive, difficult to redirect, awe-inspiring, entertaining, and a
source of mind-boggling amounts of excrement when you least expect
it." -- Gene Spafford, 1992