Thread: Switch command
View Single Post
Old 05-07-2003, 11:13 PM   #2
karlan
Member
 
Join Date: Apr 2002
Location: Brisbane Australia
Posts: 74
karlan is on a distinguished road
What codebase are you asking about (although I imagine most handle this the same - just a guess)

My understanding of how circleMUD handles it is:
do_swicth (the actual command run) only transfers the descriptor to the targeted mob, none of the other information is copied across (flags, prompt, prefs...) this is done for simplicity, you could copy all these accross, OR have any of the checks (Look for an IS_NPC check) test if for a NPC, and if it is then test if it has the pointer to the original character, then use those settings. and that is all too much work.

does that help?
karlan is offline   Reply With Quote