Thread: Free ammo
View Single Post
asstolavista
Junior Member
Join Date: Jan 2007
Old 02-06-2007 , 19:28   Re: Free ammo
Reply With Quote #8

Quote:
Originally Posted by asstolavista View Post
So for old-style menu I must keep track of the selections the player makes? Or is there a simplier way?

A more general way I see is relating the weapon pickup event message with the money event message, but I don't know how to do that effectively.
Please tell me something. I'll try the first way, tracking user menus and choices, but I don't know if that is correct or not.

As for the second way, I would have to catch all events to be sure there is nothing between weapon pickup and money event to make sure the weapon was bought, and I'm not going to do that unless someone more experient tells me that's ok (especially in terms of performance) and actually shows me how to catch all events. I'm thinking of a register_message cycle, but where can I get the minimum and maximum values for it? I can peek the .inc's and make it hardcoded, but you'd have to tell me that's ok as well.
asstolavista is offline