mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Add setactivitycolour(colour) and setactivitytext() commands
These commands will change the colour and text of the next activity zone that gets spawned. `setactivitycolour` takes all textbox colors, and `setactivitytext` will take the text on the next line. These commands were designed this way to avoid breaking forwards compatibility.
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
0685cade69
commit
b15e25f106
@@ -1903,6 +1903,15 @@ void scriptclass::run(void)
|
||||
obj.createblock(5, obj.entities[crewman].xp - 32, 0, 96, 240, i, "", (i == 35));
|
||||
}
|
||||
}
|
||||
else if (words[0] == "setactivitycolour")
|
||||
{
|
||||
obj.customactivitycolour = words[1];
|
||||
}
|
||||
else if (words[0] == "setactivitytext")
|
||||
{
|
||||
position++;
|
||||
obj.customactivitytext = commands[position];
|
||||
}
|
||||
else if (words[0] == "createrescuedcrew")
|
||||
{
|
||||
//special for final level cutscene
|
||||
|
||||
Reference in New Issue
Block a user