mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-25 09:44:02 +00:00
Updated entity scripting (markdown)
parent
538cb79023
commit
e77e644456
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue