Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

.galaxy (SCII)

Name: Anonymous 2012-03-02 12:23

What do you guys think of SCII's scripting language .galaxy?

playergroup gv_allPlayers = PlayerGroupAll();
void gf_exampleFunc () {
    text lv_txtPlayer = StringToText("Player ")
    text lv_txt = StringToText(" is a nigger.");
    int  lv_i;

    while(lv_i <= c_maxPlayers) {
        UIDisplayMessage(gv_allPlayers, c_messageAreaDebug, lv_txtPlayer + IntToText(lv_i) + lv_txt);
        lv_i += 1;
    }
}

Name: Anonymous 2012-03-02 12:57

>>11
Learn how to match up braces buddy.
Like this

playergroup allPlayers = PlayerGroupAll();
void ExampleFunc ()
{
    text msg = StringToText(" is a nigger.");
    int  i;

    while(i < c_maxPlayers)
    {
        UIDisplayMessage(allPlayers, c_messageAreaDebug, PlayerName(i) + msg); //PlayerName shows the players name instead of like I had it before where it says "Player " then the number of the player.
        i += 1;
    }
}

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List