- Joined
- Apr 15, 2020
- Messages
- 49
This is what I've been working on and it seems to half work. It displays the text above the hostile units not the players units. Any Ideas
The initial value of TopValue is 0
For each (Integer B) from 1 to 8, do (Actions)
The initial value of TopValue is 0
For each (Integer B) from 1 to 8, do (Actions)
Loop - Actions
For each (Integer A) from 1 to 8, do (Actions)
Loop - Actions
Set VariableSet TopValue = 0
Floating Text - Create floating text that reads (String((Integer B))) at (Position of TurnTimeFinal[(Integer B)]) with Z offset 100.00, using font size 15.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Unit Group - Add TurnTimeFinal[(Integer B)] to ActiveBattleIf - Conditions
(TurnTimeAllocation[(Integer A)] is in ActiveBattle.) Equal to False
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions(TurnTimeAllocation[(Integer A)] is in ActiveBattle.) Equal to False
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
(Point-value of TurnTimeAllocation[(Integer A)]) Greater than TopValue
Then - ActionsSet VariableSet TopValue = (Point-value of TurnTimeAllocation[(Integer A)])
Set VariableSet TurnTimeFinal[(Integer B)] = TurnTimeAllocation[(Integer A)]
Else - ActionsSet VariableSet TurnTimeFinal[(Integer B)] = TurnTimeAllocation[(Integer A)]
Do nothing
Else - ActionsDo nothing
Set VariableSet TopValue = 0
Floating Text - Create floating text that reads (String((Integer B))) at (Position of TurnTimeFinal[(Integer B)]) with Z offset 100.00, using font size 15.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency