- Joined
- Jun 27, 2010
- Messages
- 2,763
Hey do you have any idea how to solve this problem?
the idea is:
loop until RaceCurrentInt != RaceRandomInt.
If != , then set it to RaceRandomInt.
The goal here is to avoid setting/re-setting the new point where the previous point was.
the idea is:
loop until RaceCurrentInt != RaceRandomInt.
If != , then set it to RaceRandomInt.
The goal here is to avoid setting/re-setting the new point where the previous point was.
-
For each (Integer A) from 1 to 10, do (Actions)
-
Loop - Actions
-
Set Race_RandomInt = (Random integer number between 1 and Settings_Race_Jumps)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Race_CurrentInt Not equal to Race_RandomInt
-
-
Then - Actions
-
Set Race_CurrentInt = Race_RandomInt
-
Set Race_CurrentPoint = KOTH_POINTS[(Random integer number between 1 and Settings_Race_Jumps)]
-
Item - Create Race Flag at Race_CurrentPoint
-
Skip remaining actions
-
-
Else - Actions
-
-
-
Last edited: