GM: and

From GMpedia.org Wiki

Jump to: navigation, search

In Game Maker scripting, and (or &&) can be used to tie two or more conditions together before something happens.

For example:

    if global.readskill>=5 && book = true && light = true
    {
    room_goto(rm_readingroom);
    }
Personal tools