View Single Post
  #1 (permalink)  
Old June 12th, 2014
Fira Fira is offline
Search Engines Fan
 
Join Date: June 12th, 2014
Location: N. USA (North United States of America)
Posts: 2
Fira is a great assister to others; your light through the dark tunnel
Cool Game Maker and 4 other discussions thread

The 4 others are
Zelda Classic (ZC)
Super Mario Flash (SMF) 2
Super Mario Flash
Stencyl



GML stands for Game Maker Language



Has anyone ever received GML help from Mark Overmars such as a completely made up example in this post below:



'''
I emailed Mark Overmars this question: ''Mark I am using Game Maker 7.0 Lite Edition and in Creation Code event for one Roxanne I put:
with(self)
{
if (variable_local_exists(hp))
{
hp = 11;
show_message(hp);
}
}

and then another Roxanne I put for Creation Code event:
with(self)
{
if (variable_local_exists(hp))
{
hp = 127;
show_message(hp);
}
}

but I get an error message how do I fix this?''




Mark Overmars responded to my email with
''
Delete all in Creation code's of all objects in room
and make another object named Roxanne_show_message
and put Roxanne_show_message in room with those two Roxanne's.


Next make arrow go over a Roxanne and look carefully for ID number and then go over to the over Roxanne with arrow and look carefully for ID number.


then in Roxanne_show_message's Room Start Event put:
if (instance_exists((id of a Roxanne such as 100015)))
{
with((id of a Roxanne such as 100015))
{
hp = desired number;
show_message(hp);
}
}
''



and I responded with ''It worked thanks Mark Overmars!!''



and Mark Overmars said you are welcome
'''
Reply With Quote