mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-29 16:54:56 +02:00
Added <Level.LoadOffsetMaps>
(Bool) Returns if OffsetMaps are being loaded (based on the Offset Map Quality option in the Options Menu).
This commit is contained in:
parent
f5feba5e99
commit
e065eb575a
@ -27,6 +27,12 @@
|
|||||||
Return Screen.Level.DayTime
|
Return Screen.Level.DayTime
|
||||||
Case "environmenttype"
|
Case "environmenttype"
|
||||||
Return int(Screen.Level.EnvironmentType)
|
Return int(Screen.Level.EnvironmentType)
|
||||||
|
Case "loadoffsetmaps"
|
||||||
|
If Core.GameOptions.LoadOffsetMaps > 0 Then
|
||||||
|
ReturnBoolean(True)
|
||||||
|
Else
|
||||||
|
ReturnBoolean(False)
|
||||||
|
End If
|
||||||
End Select
|
End Select
|
||||||
|
|
||||||
Return DEFAULTNULL
|
Return DEFAULTNULL
|
||||||
|
@ -222,6 +222,7 @@ Namespace ScriptVersion2
|
|||||||
r(New ScriptCommand("level", "musicloop", "str", "Returns only the name of the current played song, without path and extension.", ",", True))
|
r(New ScriptCommand("level", "musicloop", "str", "Returns only the name of the current played song, without path and extension.", ",", True))
|
||||||
r(New ScriptCommand("level", "daytime", "int", "Returns the DayTime of the current map.", ",", True))
|
r(New ScriptCommand("level", "daytime", "int", "Returns the DayTime of the current map.", ",", True))
|
||||||
r(New ScriptCommand("level", "environmenttype", "int", "Returns the EnvironmentType of the current map.", ",", True))
|
r(New ScriptCommand("level", "environmenttype", "int", "Returns the EnvironmentType of the current map.", ",", True))
|
||||||
|
r(New ScriptCommand("level", "LoadOffsetMaps", "bool", "Returns if OffsetMaps are being loaded (based on the Offset Map Quality option in the Options Menu).", ",", True))
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Shared Sub DoEntity()
|
Private Shared Sub DoEntity()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user