Jump to content


room_set_width/height not working

  • This topic is locked This topic is locked
2 replies to this topic

#1 Digisynth


    GMC Member

  • Validating
  • 55 posts

Posted 01 May 2012 - 07:20 PM

Consider one object with this code in its create event in a room called room0:


The message box then returns:


This proves that no changes to the room's width and height have been made. Why so? Can't one change the properties of an active room?
pi = 3,1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679

#2 icuurd12b42


    Self Formed Sentient

  • GMC Elder
  • 17658 posts
  • Version:GM:Studio

Posted 01 May 2012 - 09:49 PM

you can't change the room size of the current room or a persistent room that has been visited. Call the functions from a menu room and it should work.
  • 0

#3 xot


    GMC Dismember

  • GMC Elder
  • 4783 posts
  • Version:GM:Studio

Posted 02 May 2012 - 06:57 AM

Some people have said that it can be done from the current room if it is then restarted, but icuurd12b42's suggestion is the documented and correct way to handle it.
  • 0
GMLscripts.com, rise from your grave!

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users