Fandom

Petit Computer Wiki

BGMSETV (Command)

914pages on
this wiki
Add New Page
Comments0 Share

V1Edit

BGMSETV is not a command in SmileBasic V1.

V2Edit

BGMSETV is a command which changes MML variables. It takes three numerical parameters, each of which is rounded down if it is not an integer; a track number (0 to 7 inclusive), a variable number (0 to 7 inclusive), and a value to write to the variable (0 to 255 inclusive).

For example, after executing BGMSET 128,"$2=60[RRRRN$2]":BGMPLAY 5,128, the system will regularly play a note. After BGMSETV 5,2,80, the note will change.

See also BGMGETV (Function).

V3Edit

No information on SmileBasic V3.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.