Scypek2 Posted December 14, 2012 How can I make lost soul explode while attacking you via BEX? I need it to be a lost soul - flying, chasing you and spit out by Pain Elemental. The charge is not absolutely neccesary. Edit: now it works, you can expect something this year! 0 Share this post Link to post
wesleyjohnson Posted December 15, 2012 I wrote the BEX code for DoomLegacy, but don't know of any strange usage of BEX that would accomplish that. Some thoughts: I do not know of a way to detect contact, and do not remember any BEX monster function that detects that. The code detects contact as hits and applies appropriate damage. Missiles detect hitting and can explode. You would have to define your lost soul as a slow missile. You could change the melee attack to an explode. If the port has Heretic support then you could use the object effect for exploding pods, otherwise it would have to copy an exploding barrel (A_Explode). It would not be on contact, only when close enough for melee attack. MBF compatible ports have a TOUCHY flag (for mines), and A_Detonate which allows more control. Check for BEX documents for how it is supposed to work. Forum Reports vary. 0 Share this post Link to post
Scypek2 Posted December 16, 2012 I changed melee state to exploding barrel state and it works pretty good. Thanks. 0 Share this post Link to post