- Joined
- Mar 3, 2006
- Messages
- 1,564
I made a little GUI system that can convert integers to hexadecimals so it can be used in color codes.
If anyone wants to add his touch to the system, then he is welcome
-
Initialization
-
Events
-
Map initialization
-
-
Conditions
-
Actions
-
Set H[0] = 0
-
Set H[1] = 1
-
Set H[2] = 2
-
Set H[3] = 3
-
Set H[4] = 4
-
Set H[5] = 5
-
Set H[6] = 6
-
Set H[7] = 7
-
Set H[8] = 8
-
Set H[9] = 9
-
Set H[10] = A
-
Set H[11] = B
-
Set H[12] = C
-
Set H[13] = D
-
Set H[14] = E
-
Set H[15] = F
-
-
-
Number
-
Events
-
Player - Player 1 (Red) skips a cinematic sequence
-
-
Conditions
-
Actions
-
-------- That number is just an example --------
-
Set integer = 254
-
Trigger - Run Number Setting <gen> (ignoring conditions)
-
-
-
Number Setting
-
Events
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
-
integer Less than or equal to 0
-
(integer - 16) Less than or equal to 0
-
-
-
-
Then - Actions
-
Set u = integer
-
Set string = (H[t] + H[u])
-
Game - Display to (All players) the text: string
-
-
Else - Actions
-
Set integer = (integer - 16)
-
Set t = (t + 1)
-
Trigger - Run (This trigger) (ignoring conditions)
-
-
-
-
If anyone wants to add his touch to the system, then he is welcome
