ui_router_guards_photomode¶
File: lua/ge/extensions/ui/router/guards/photomode.lua · VM: Game Engine (GE) · 48 lines · BeamNG.drive 0.40.5 (buildbot 302427 on GitLab)
Access: extension ui_router_guards_photomode: extensions.load("ui_router_guards_photomode"), then the global ui_router_guards_photomode
Exit guard "confirmPhotomodeExit": prevents leaving photo mode without confirmation. It allows navigation if the target route is still within photo mode (route "
Fields¶
| Field | Type | Description |
|---|---|---|
guards |
table |
Table of exposed guards: {confirmPhotomodeExit = function(route, params, context) -> boolean}. |
tim19Atlas (Tim0219800) — derived from BeamNG GmbH Lua code (bCDDL 1.1, see LICENSE). Source: lua/ge/extensions/ui/router/guards/photomode.lua.