Author Topic: I Wanna Be the Engine KS Edition (For GMStudio)  (Read 56958 times)

lawatson

  • The Kid
  • Posts: 331
  • I do things and I make things.
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 51.0.2704.84 Chrome 51.0.2704.84
    • View Profile
  • Playstyle: Keyboard
Re: I Wanna Be the Engine KS Edition (For GMStudio)
« Reply #120 on: June 14, 2016, 03:16:21 PM »
Just an addition: If you duplicate an object, it'll have all the events set to happen in the object it was duplicated from (Which obviously is not a good idea since that means that most likely variables won't be read even if you set them). You can fix this at a moment's notice by changing the object that the code runs (Top right of the code screen).
(click to show/hide)

smoke weed everyday

B0shyl0rd

  • Wannabe
  • Posts: 5
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Internet Explorer 11 Internet Explorer 11
    • View Profile
  • Playstyle: Keyboard
Re: I Wanna Be the Engine KS Edition (For GMStudio)
« Reply #121 on: August 06, 2016, 04:39:18 PM »
 :BibleThump: I need help

___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Create Event
for object savePointMedium:

global variable difficultySelect(100022, -2147483648) not set before reading it.
 at gml_Object_savePointMedium_CreateEvent_1 (line 3) - if (global.difficultySelect && global.difficulty > 0) {
############################################################################################

Kyir

  • The Kid
  • Posts: 293
  • Normal Guy
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 51.0.2704.103 Chrome 51.0.2704.103
    • View Profile
  • Playstyle: Keyboard
Re: I Wanna Be the Engine KS Edition (For GMStudio)
« Reply #122 on: August 06, 2016, 10:38:58 PM »
You did something that's causing the global difficulty variable to not get set properly when the game starts/loads.

B0shyl0rd

  • Wannabe
  • Posts: 5
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Internet Explorer 11 Internet Explorer 11
    • View Profile
  • Playstyle: Keyboard
Re: I Wanna Be the Engine KS Edition (For GMStudio)
« Reply #123 on: August 07, 2016, 12:10:52 PM »
All I did was make a second room and put a save
(and yes I read the readme on the teleporter)

patrickgh3

  • Spike Dodger
  • Posts: 169
  • stay optimistic! :D
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 51.0.2704.103 Chrome 51.0.2704.103
    • View Profile
    • Github
  • Playstyle: Keyboard
Re: I Wanna Be the Engine KS Edition (For GMStudio)
« Reply #124 on: August 07, 2016, 02:33:05 PM »
For this kind of error, where the error itself could be anywhere in the project, it's best to upload your project gmz (go to File -> Export Project). My guess is you have your new room at the top of the list, when rInit should always be at the top so it's the starting room.