ModelPath can be parsed for constructs
This commit is contained in:
parent
e065eb575a
commit
93f8d63aaf
|
@ -65,6 +65,7 @@
|
|||
Screen.Level.WarpData.WarpRotations = 0
|
||||
Screen.Level.WarpData.DoWarpInNextTick = True
|
||||
Screen.Level.WarpData.CorrectCameraYaw = Screen.Camera.Yaw
|
||||
Screen.Level.WarpData.WarpSound = Nothing
|
||||
IsReady = True
|
||||
Case "setsafari"
|
||||
Screen.Level.IsSafariZone = CBool(argument)
|
||||
|
|
|
@ -652,7 +652,11 @@
|
|||
Dim ID As Integer = CInt(GetTag(Tags, "ID"))
|
||||
Dim ModelPath As String = ""
|
||||
If TagExists(Tags, "ModelPath") = True Then
|
||||
ModelPath = CStr(GetTag(Tags, "ModelPath"))
|
||||
If CStr(GetTag(Tags, "ModelPath")).Contains("<") Then
|
||||
ModelPath = P3D.ScriptVersion2.ScriptCommander.Parse(CStr(GetTag(Tags, "ModelPath"))).ToString()
|
||||
Else
|
||||
ModelPath = CStr(GetTag(Tags, "ModelPath"))
|
||||
End If
|
||||
End If
|
||||
Dim Movement As String = CStr(GetTag(Tags, "Movement"))
|
||||
Dim MoveRectangles As List(Of Rectangle) = CType(GetTag(Tags, "MoveRectangles"), List(Of Rectangle))
|
||||
|
@ -829,7 +833,11 @@
|
|||
|
||||
Dim ModelPath As String = ""
|
||||
If TagExists(Tags, "ModelPath") = True Then
|
||||
ModelPath = CStr(GetTag(Tags, "ModelPath"))
|
||||
If CStr(GetTag(Tags, "ModelPath")).Contains("<") Then
|
||||
ModelPath = P3D.ScriptVersion2.ScriptCommander.Parse(CStr(GetTag(Tags, "ModelPath"))).ToString()
|
||||
Else
|
||||
ModelPath = CStr(GetTag(Tags, "ModelPath"))
|
||||
End If
|
||||
End If
|
||||
|
||||
Dim ActionValue As Integer = CInt(GetTag(Tags, "Action"))
|
||||
|
|
Loading…
Reference in New Issue