Hey all.
Ok my question involves Switch statements.
Lately, ive been writing switch statements because A) people tell me its better, and B) it makes more sense sometimes.

Firstly, why are switches better?

Second.. Im re-writing my damage messages (actually a whole new fight system, basicly the fight messages instead of Your slash DECIMATES bob! you get "Your sword deeply cuts bob" and so on depending on how much damage you do.) Basicly, if say i want case 1 - 10 to do one message, without typing them all out in each case?

Any help is appreciated =)

-Thri


Reply via email to