Graf Zahl wrote:Since I won't have any time for 4-5 hours anyway to do something about it I think it's a good chance to add stuff anybody here has done with this code. Feel free to send them to me by email and if it's good I'll add it.
Update: I decided to add 4 new code pointers in the process
- A_GiveInventory
- A_TakeInventory
- A_SpawnItem
- A_ThrowGrenade
A_GiveInventory and A_TakeInventory are self-explanatory and equivalent to their ACS counterparts.
A_SpawnItem spawns an object in front of the caller. This function is capable of handling monsters properly, unlike A_CustomMissile.
A_ThrowGrenade throws an item like the grenade version of Hexen's flechette.
A_SpawnItem and A_ThrowGrenade are both designed to be usable by both monsters and weapons.
Of course this means I have to do some testing so I'll post it as soon as it works.