Fixed scriptblocks not showing the text in AdditionalValue when the Action value is set to 2
This commit is contained in:
parent
3799887e15
commit
e8d980b34a
|
@ -54,7 +54,7 @@
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
Public Overrides Sub ClickFunction()
|
Public Overrides Sub ClickFunction()
|
||||||
If Me.TriggerID = 1 Then
|
If Me.TriggerID = 1 Or Me.TriggerID = 2 Then
|
||||||
ActionScript.TempInputDirection = -1
|
ActionScript.TempInputDirection = -1
|
||||||
Me.clickedToActivate = True
|
Me.clickedToActivate = True
|
||||||
TriggerScript(False)
|
TriggerScript(False)
|
||||||
|
@ -81,12 +81,15 @@
|
||||||
Me.clickedToActivate = False
|
Me.clickedToActivate = False
|
||||||
SoundManager.PlaySound("select")
|
SoundManager.PlaySound("select")
|
||||||
End If
|
End If
|
||||||
|
If Me.TriggerID = 2 Then
|
||||||
|
oS.ActionScript.StartScript(Me.AdditionalValue, GetActivationID())
|
||||||
|
Else
|
||||||
oS.ActionScript.StartScript(Me._scriptID, GetActivationID())
|
oS.ActionScript.StartScript(Me._scriptID, GetActivationID())
|
||||||
ActionScript.TempSpin = True
|
ActionScript.TempSpin = True
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
End If
|
||||||
TriggeredScriptBlock = False
|
TriggeredScriptBlock = False
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue