Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: GarageGothic on Mon 28/02/2005 15:38:34

Title: Unhandled event shortcomings?
Post by: GarageGothic on Mon 28/02/2005 15:38:34
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?
Title: Re: Unhandled event shortcomings?
Post by: Rui 'Trovatore' Pires on Mon 28/02/2005 15:44:57
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.
Title: Re: Unhandled event shortcomings?
Post by: GarageGothic on Mon 28/02/2005 16:08:19
Ah, I see. That makes sense. Thanks!
Title: Re: Unhandled event shortcomings?
Post by: Pumaman on Mon 28/02/2005 19:46:21
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.
Title: Re: Unhandled event shortcomings?
Post by: GarageGothic on Tue 01/03/2005 11:33:49
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.
Title: Re: Unhandled event shortcomings?
Post by: Radiant on Wed 02/03/2005 08:36:40
Yep. My unhandled_event functions always start with a couple if-lines to make the other parameters more consistent with cursor modes.
Title: Re: Unhandled event shortcomings?
Post by: strazer on Mon 07/03/2005 08:24:35
Tracker'd: http://www.adventuregamestudio.co.uk/tracker.php?action=detail&id=512
Title: Re: Unhandled event shortcomings?
Post by: GarageGothic on Mon 07/03/2005 08:26:50
Thanks!