Example:
proc
Process(category, topic)
if(category=="Death")
if(topic=="Player")
//Player Dies Here
return
if(topic=="Enemy")
//Enemy Dies Here
if(category=="Attack")
if(topic=="Sword")
//Sword Attack Here
return
if(topic=="Gun")
//Gun Attack Here
And it would go on and on.. And obviously it would have more than just category and topic if it is going to be doing attacks and such.
Discuss?
Cons: You can't pass anything extra into it (players, objs, etc. unless you want to use the args list), there's no point in doing it, you have to have the strings exact or something won't execute (like if you put "player" instead of "Player"), and then the fact that it's just a dumb design idea.