ah gotcha. Thats interesting, I didn't know those existed!
grakushkin
Recent community posts
I manually downloaded an older repo that i had up on github and tried to load it up. Project runs fine, but GMLive doesnt seem to connect. I'm getting this error:
Error indexing `C:/Users/George/Documents/GameMakerStudio2/EoE_V1/scripts/scr_modifiable_stats/scr_modifiable_stats.gml`: [L66,c2]: Unexpected character `Γ` (ord 226)
Warning: live_call outside of named scope in `C:/Users/George/Documents/GameMakerStudio2/EoE_V1/scripts/scr_tooltip_text/scr_tooltip_text.gml` [L3,c4]
Project load took 801ms
Listening on port 5100...
NOTE: "live" code execution errors go into your Output window!
___
Any ideas as to what might be happening?
I have "native_cursor_update();" in the step event of my obj_player. Perhaps this isn't the best place to have this line of code, but regardless when I try to make a change in the step event while the game is running, I get an error message that says :
[GMLive][10/31/2024 3:17:14 PM][ERROR] Runtime error: [error] `instance#ref instance 100045(obj_player)` (instance of obj_player) does not have a variable `native_cursor_update`.
Is there a way to ignore this line of code? Or should I just move it elsewhere?
Okay, in the playerweapons script, is global.weapon_data being initialized anywhere?
I am getting the following error when trying to pick up an object that should in theory put a "knife" weapon in the our global.player_weapons array.
___________________________________________
############################################################################################
ERROR in
action number 1
of Step Eventobj_player
for object obj_knife_pickup:
trying to index a variable which is not an array
at gml_Script_playerweapon_register_new_scr_playerweapons_gml_GlobalScript_scr_playerweapons (line 309) - array_copy(data,0,global.weapon_data[wid],0,PWD_LOCALDATA_MAX)
############################################################################################
gml_Script_playerweapon_register_new_scr_playerweapons_gml_GlobalScript_scr_playerweapons (line 309)
gml_Object_obj_knife_pickup_Collision_obj_player (line 7) - playerweapon_register_new(wid_KNIFE)
The relevant knife data is filled out in playerweapons_init_all().
Any idea whats going on?
Hi Yal, I've been going through the engine the last few days trying to understand and utilize some of it in my own survivors type game. For the most part its incredibly straightforward and easy to understand, but there are a few things here and there that I'm confused about and would love some clarification. Do you have a discord or anything like that?