Sazerra05 Posted April 12, 2012 Share Posted April 12, 2012 Hey everyone!I would like to have a question.How can I check what my class is and then use it in a script?I would like to check my class and give items based on that, but I have no idea how to do it.Would this work? :[codescriptname Class01 ref playerclass Begin GameMode set playerclass to player.GetClass if playerclass == warrior endifend][/code]I don't think so, but who knows :psyduck: Thanks in advance,Saz Link to comment Share on other sites More sharing options...
Sazerra05 Posted April 13, 2012 Author Share Posted April 13, 2012 So this obse command "getclass" returns what your class is or a number? Link to comment Share on other sites More sharing options...
Striker879 Posted April 13, 2012 Share Posted April 13, 2012 According to what the CS Wiki says I'd say refID: GetClass. Here's a link to the OBSE Command Documentation (hyperlink to the CS Wiki at each command description). Link to comment Share on other sites More sharing options...
Sazerra05 Posted April 14, 2012 Author Share Posted April 14, 2012 Thanks for the help, but I've actually solved it another way around, with a menu showing up at the start of the game, where you can select your class. Anyways, thanks for the help, +1 Link to comment Share on other sites More sharing options...
Recommended Posts