Yes.does this script have rgb cube ?
you misunderstood me, i have a script but that pickup box i want the color i want to flickerYes.
Did you even tried open link?
0AB1: call_scm_func @DRAW_OUTLINED_BOX 9 POS 7@ 8@ SIZE 35.0 35.0 RGBA 4@ 5@ 6@ 7@ THICKNESS 2.5Post code , so i can see.
// Always use "Alpha = 0xFF = 255" to have the clearest color. Lowering the alpha value makes the color transparent.
0AB1: @DRAW_OUTLINED_BOX 9 _XYCoords 7@ 8@ _Width 35.0 _Height 35.0 _Red 0xFF _Green 0xFF _Blue 0x00 _Alpha 0xFF _Thickness 2.5 // shows a Yellow Box
i tried but it didnt work, i want to color changes, example for one second to blink red , one second white , one second other color etc.. like in this videoIf I understood you correctly:
- You don't want the box to flicker/blink.
- You don't want the box to be green colored.
- You want the box to be multicolored(combination of RGB).
Maybe like this?
Use only the quickest wait(wait 0 ms) and avoid using other duration other than 0ms. Long wait duration is what causes the box to flicker.PHP:// Always use "Alpha = 0xFF = 255" to have the clearest color. Lowering the alpha value makes the color transparent. 0AB1: @DRAW_OUTLINED_BOX 9 _XYCoords 7@ 8@ _Width 35.0 _Height 35.0 _Red 0xFF _Green 0xFF _Blue 0x00 _Alpha 0xFF _Thickness 2.5 // shows a Yellow Box
...
If and
TIMERA >= 166
TIMERA <= 332
Then 0AB1: call_scm_func @DRAW_OUTLINED_BOX 9 _XYCoords 7@ 8@ _Width 35.0 _Height 35.0 _Red 0xFF _Green 0x00 _Blue 0x00 _Alpha 0xFF _Thickness 2.5
Else If and
TIMERA >= 498
TIMERA <= 664
Then 0AB1: call_scm_func @DRAW_OUTLINED_BOX 9 _XYCoords 7@ 8@ _Width 35.0 _Height 35.0 _Red 0x00 _Green 0xFF _Blue 0x00 _Alpha 0xFF _Thickness 2.5
Else If and
TIMERA >= 830
TIMERA <= 966
Then 0AB1: call_scm_func @DRAW_OUTLINED_BOX 9 _XYCoords 7@ 8@ _Width 35.0 _Height 35.0 _Red 0x00 _Green 0x00 _Blue 0xFF _Alpha 0xFF _Thickness 2.5
Else if TIMERA > 996
then TIMERA = 0 // RESET timer
end
End
End
End
...
ty man its worksYou can use a timer variable that is blocked by some conditional statements.
This block is an example of a Simple blinking Box that alternates RGB
PHP:... If and TIMERA >= 166 TIMERA <= 332 Then 0AB1: call_scm_func @DRAW_OUTLINED_BOX 9 _XYCoords 7@ 8@ _Width 35.0 _Height 35.0 _Red 0xFF _Green 0x00 _Blue 0x00 _Alpha 0xFF _Thickness 2.5 Else If and TIMERA >= 498 TIMERA <= 664 Then 0AB1: call_scm_func @DRAW_OUTLINED_BOX 9 _XYCoords 7@ 8@ _Width 35.0 _Height 35.0 _Red 0x00 _Green 0xFF _Blue 0x00 _Alpha 0xFF _Thickness 2.5 Else If and TIMERA >= 830 TIMERA <= 966 Then 0AB1: call_scm_func @DRAW_OUTLINED_BOX 9 _XYCoords 7@ 8@ _Width 35.0 _Height 35.0 _Red 0x00 _Green 0x00 _Blue 0xFF _Alpha 0xFF _Thickness 2.5 Else if TIMERA > 996 then TIMERA = 0 // RESET timer end End End End ...
While this link is an example of a more sophisticated color changer. The source code was made public for learning purposes so you better check it out and copy a part of that code that changes the color.
Just be creative and you'll be able to make a better blinking box than those examples... You can also make it distance based wherein the farther you are to the object the slower the blinking is, while the nearer you are to the object the faster it blinks