llde / xOBSE

Oblivion Script extender source
243 stars 35 forks source link

No event being dispatched on hit with hand to hand to "OnHitWith" event handler #184

Open ir4ne opened 1 year ago

ir4ne commented 1 year ago

Steps to reproduce:

  1. Register OnHitWith event handler SetEventHandler "OnHitWith" MyOnHitWithHandler
  2. Print something in your handler
    
    scn MyOnHitWithHandler

Ref target Ref weapon

begin Function { target, weapon }

PrintC "OnHitWith handler was invoked" 

end


3. Launch game, hit someone with your bare hands and see that there are no logs.