Unhandled event shortcomings?

Started by GarageGothic, Mon 28/02/2005 15:38:34

Previous topic - Next topic

GarageGothic

Is there any logical explanation for there not being any unhandled event WHAT/TYPE combinations for:

Pick up nothing
Cursor Mode 8 on nothing
Cursor Mode 9 on nothing

I know how to script around it, so it's no biggie. But it seems like a weird thing for the function to be incomplete like this?

Rui 'Trovatore' Pires

Probably because these came later and CJ didn't remembered/never bothered to update Unhandled_Event accordingly, and so far no one had brought it up. I agree it feels incomplete.
Reach for the moon. Even if you miss, you'll land among the stars.

Kneel. Now.

Never throw chicken at a Leprechaun.

GarageGothic

Ah, I see. That makes sense. Thanks!

Pumaman

Hmm yeah, I don't really like the way unhandled_event works overall -- the second parameter should be more consistent and it should make more sense overall. Probably needs an update in a future version.

GarageGothic

Thanks for the reply CJ. I agree that the parameters are very confusing too, but you usually only set the messages once per game anyway so I didn't consider it a problem worth mentioning.

Radiant

Yep. My unhandled_event functions always start with a couple if-lines to make the other parameters more consistent with cursor modes.



SMF spam blocked by CleanTalk