I implemented what you gave and got no errors but on the ScoreText4 (To display the Percent) i just get 0 and it seems Score2 is getting the same value as Score but TotalScore and Score seem to work fine.
Edit: Just a little mistake on the scores getting the same values (i fixed that) but for the percent i just get 1 or a not correct percent but all other values are good still.
Divide(V1:int, V2:int)<decides><transacts>:int=
Value1 := V1 * 1.0
Value2 := V2 * 1.0
PercentScore:int = Round[Value1 / Value2]
OnBegin<override>()<suspends>:void=
Trigger.TriggeredEvent.Subscribe(OnInitial)
OnInitial(QAgent:?agent):void=
if (Agent:=QAgent?):
ScoreManager1.Activate(Agent)
Score := ScoreManager1.GetCurrentScore(Agent)
ScoreManager2.Activate(Agent)
Score2 := ScoreManager2.GetCurrentScore(Agent)
TotalScore := Score + Score2
if(PercentScore := Divide[Score, TotalScore]):
SetTriggerText(Score, Score2, TotalScore, PercentScore)
SetTriggerText(value:int, value2:int, total:int, Percent:int):void=
ScoreText.SetText(ScoreMessage("{value}"))
ScoreText2.SetText(ScoreMessage("{value2}"))
ScoreText3.SetText(ScoreMessage("{total}"))
ScoreText4.SetText(ScoreMessage("{Percent}"))