Newbie Spellweaver
- Joined
- Sep 24, 2006
- Messages
- 89
- Reaction score
- 0
Ok, here's the "low down" on my python question. I'm making a quest right now, and doing very well actually! Part of one of the events I have is a line to check your race, for example:
Then the next part is to check your level, for example:
Now I need a part that checks whether or not your on your subclass , what should I have for the code?
Then I need a line to check whether or not you have done this quest before, what should I have for that?
Well that's about my question, thanks for bearing with me, I'm still novice![Stick out tongue :p :p](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Code:
if Race in [Race.dwarf, Race.darkelf, Race.orc, Race.human]:
st.setState(COMPLETED)
st.exitQuest(1)
return "7503-11.htm"
Code:
if Level <= 78
htmltext = "7503-05.htm"
Then I need a line to check whether or not you have done this quest before, what should I have for that?
Well that's about my question, thanks for bearing with me, I'm still novice