Page 1 of 1

"boardable" property

Posted: Tue Aug 23, 2016 12:30 pm
by Adil
Entities currently have [rw] `operable` property. It prevents opening the interface of the entity.
However, it might be useful sometimes to prevent the ability of player entering a certain vehicle.
`operable` doesn't cover that, and this might actually be handy in some scenario of sorts.

Re: "boardable" property

Posted: Tue Aug 23, 2016 8:04 pm
by Supercheese
While this would slightly simplify matters, you can nonetheless achieve the same result by monitoring the on_player_driving_changed_state event and ejecting any player who enters a certain vehicle.

For example: https://github.com/GopherAtl/nixie-tube ... #L362-L368