![]() |
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 ;) ''' |
All times are GMT -7. The time now is 02:45 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2020 Gnutella Forums.
All Rights Reserved.