1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-29 03:33:48 +00:00

Updated entity scripting (markdown)

False.Genesis 2019-09-01 22:43:06 +02:00
parent 538cb79023
commit e77e644456

@ -110,7 +110,7 @@ If the function returns false, the shot passes through. If the function returns
An entity has an internal _death notification list_ that stores RenderObjects that want to be notified when the entity is destroyed.
For each entity in this list, `deathNotify(me, dead)` is called (`me` is the receiver of the notifiation, `dead` the thing that is getting destroyed).
Death notifications are set up via `entity_addDeathNotify(me, which) so that `me` tells `which` when `me` is destroyed.
Death notifications are set up via `entity_addDeathNotify(me, which)` so that `me` tells `which` when `me` is destroyed.
Note that this is a fairly low-level function. Death notification is delivered in all cases, even when an object is despawned by any means.