Jump to content

Photo

Detecting when an enemy bomb explodes


  • Please log in to reply
15 replies to this topic

#16 Timelord

Timelord

    The Timelord

  • Banned
  • Location:Prydon Academy

Posted 07 February 2017 - 01:51 AM

I'm very surprised that the explosion keeps the eweapon pointer of the bomb. I was pretty certain that it didn't...


It's because wLitBomb degrades into a state of wBOOM, which is not quite a distinct weapon type. It is a state of an explosion 'canonical weapon ID', that is tied to an internal timer, and its effects are generated therefrom.

This, incidentally, is part of why I added CreateLWeaponDX().

Edited by ZoriaRPG, 07 February 2017 - 01:53 AM.



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users