Hello everybody! I'm here again searching for some help to do something I think it's possible but i don't know how to. Well, here's my situation.
First of all: Have you ever played a custom campaign called HeroRPG? If so, things will be easier to understand. If not, you should play, its an awesome Final Fantasy like campaign.
I played the campaign and I liked the idea so much that I wanted to make a Turn Based Battle System for a four players RPG map. Everything was going quite well when I came into one easy but laborious situation: the speed bars.
An example of how one speed bar may work:
To be precise, i just want to know if there is a way to insert a string (the hex color code) between 2 specific string spaces (that will be calculated using the current Speed Bar Maximum's value) and after, using the |r to stop the colorizing.
Thanks for the assistance and sorry for any English mistakes. I'm not a native English speaker
First of all: Have you ever played a custom campaign called HeroRPG? If so, things will be easier to understand. If not, you should play, its an awesome Final Fantasy like campaign.
I played the campaign and I liked the idea so much that I wanted to make a Turn Based Battle System for a four players RPG map. Everything was going quite well when I came into one easy but laborious situation: the speed bars.
An example of how one speed bar may work:
-
Speed Bar
-
Events
- Time - Every 0.10 seconds of game time
- Conditions
-
Actions
- Set S_Player_Speed_Maximum[1] = (S_Player_Speed_Maximum[1] + S_Player_Speed[1])
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- S_Player_Speed_Maximum[1] Greater than or equal to 10.00
- S_Player_Speed_Maximum[1] Less than 20.00
-
Then - Actions
- Set S_Player_Speed_Bar[1] = |cAB2A2A||r|||||||||
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- S_Player_Speed_Maximum[1] Greater than or equal to 20.00
- S_Player_Speed_Maximum[1] Less than 30.00
-
Then - Actions
- Set S_Player_Speed_Bar[1] = |cAB2A2A|||r||||||||
- Else - Actions
-
If - Conditions
- -------- Continues... --------
-
Events
To be precise, i just want to know if there is a way to insert a string (the hex color code) between 2 specific string spaces (that will be calculated using the current Speed Bar Maximum's value) and after, using the |r to stop the colorizing.
Thanks for the assistance and sorry for any English mistakes. I'm not a native English speaker