| Name | entity exits vehicle |
| Event Lines | entity exits vehicle
<entity> exits <entity> |
| Triggers | when an entity dismounts from another entity. |
| Generated Examples | on entity exits vehicle:
after living exits monster: after vehicle exits projectile: |
| Has Player | when the entity that dismounts the vehicle is a player. - this adds switches 'flagged:<flag name>' + 'permission:<node>', in addition to the '<player>' link. |
| Has NPC | when the entity that dismounts the vehicle is an NPC. |
| Contexts | <context.vehicle> returns the EntityTag of the mount vehicle.
<context.entity> returns the EntityTag of the exiting entity.
|
| Cancellable | True - This adds <context.cancelled> and determine 'cancelled' or 'cancelled:false' |
| Has Location | True - This adds the switches 'in:<area>', 'location_flagged:<flag>', ... |
| Group | Entity |
| Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/events/entity/EntityExitsVehicleScriptEvent.java#L14 |