Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

GMLive.gml

Livecoding for GameMaker: Studio / GameMaker Studio 2 · By YellowAfterlife

[Fixed in 1.0.26+] if not working instance_position_list, instance_place_list, read this!

A topic by rsystem created Jun 05, 2020 Views: 179
Viewing posts 1 to 1
(1 edit)

I confirmed that it didn't work for both functions and found out why.

so... i share this solution :)

1. open '<your project>/extensions/GMLive/GMLive_std.gml

2. find #define __lnc__f215

#define __lnc__f215
if (live_enabled) {
    instance_position_list(argument[0],argument[1],argument[2],argument[3],argument[4]);
}

#define __lnc__f216
if (live_enabled) {
    instance_place_list(argument[0],argument[1],argument[2],argument[3],argument[4]);
}

3. change this...

#define __lnc__f215
if (live_enabled) {
    return instance_position_list(argument[0],argument[1],argument[2],argument[3],argument[4]);
} else return undefined;

#define __lnc__f216
if (live_enabled) {
    return instance_place_list(argument[0],argument[1],argument[2],argument[3],argument[4]);
} else return undefined;