top of page

AZSTOKE/ALGAZODIK

GameAudio & Art

import sys

sys.path.append(RPR_GetResourcePath() + r"\UserPlugins")

from AZSTOKE_SILVER_python import *


def Msg(parm):

    RPR_ShowConsoleMsg(str(parm) + "\n")


track = AZ_GetTrackItemSelect(0,1,0)

retval,color,r,g,b = AZ_GetRandomColor(0,0,0,0)

Msg(color)

Msg(r)

Msg(g)

Msg(b)

retval = AZ_SetTrackItemColor(track,color)

- SCRIPT -

retval,color,r,g,b = AZ_GetRandomColor(colorOut,rOut,gOut,bOut)

- API -

ID

TRACK

AZ_GetRandomColor

Get random color information

- API Detail-

▼Input value

  • colorOut(integer): Enter 0. *Box for out

  • rOut(integer): Enter "0" ※Box for out

  • gOut(integer): Enter "0" ※Box for out

  • bOut(integer): Enter "0" ※Box for out

▼Output value

  • retval(bool): Whether the API execution was successful or not

  • colorOut(integer): Color value

  • rOut(integer) : Red 0-255

  • gOut(integer) : green 0-255

  • bOut(integer) : Blue 0-255

bottom of page