Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

array_hx_push function clashes with GMLive's definition

A topic by bowsette_game created Apr 24, 2019 Views: 355 Replies: 2
Viewing posts 1 to 2

Seems like GMLive also uses a function called array_hx_push, and it's causing this error:

Error: duplicate script name found

Is there any way to remove it from the compiled code automatically?

Developer

Use sf_std_package. Array helper wasn't marked as @:std yet as of building the last GMLive version, so it went unprefixed.

Thanks, I saw that directive in the docs but was unsure on how to use it.  'sf_std_package=name' did the job.