View Single Post
Old 08-04-2002, 05:53 PM   #1
Pini Uldar
A Shissar Disciple
 
Join Date: Jul 2002
Posts: 135
Default EQTypes for button actions

Having the button actions hard-coded really extremely limits mod writers. We can't add done buttons to windows or add destroy buttons to windows or put money in windows. Why? Because the button actions are hard-coded.

The only way to have a destroy button destroy what's on the cursor is to have that button be IW_DestroyButton and be on the InventoryWindow screen. That's it.

I wish there were EQTypes for buttons. For example, EQType 2 could be Skills. A button on any window with EQType set to 2 could cause the Skills window to open.

My list of button EQTypes that need to be done. This is off the top of my head. Feel free to add more:
- Destroy
- Autoequip
- AAXP window
- Done
- Skills window
- Pet window
- Friends window
- Platinum
- Gold
- Silver
- Copper

All this functionality currently exists, it's just hard coded to a specific button on a specific screen. This needs to be abstracted out to EQTypes so we can move buttons around, add done buttons to windows, etc.

- Pini
Pini Uldar is offline   Reply With Quote