|
Register | FAQ | The Twelve Commandments | Members List | Calendar | Arcade | Find the Best VPN | Today's Posts | Search |
Chat - Open Topics - The Lounge A place to chat about anything as long as it abides by the forum rules. (Video jokes are not allowed to be posted in this section and will be deleted.) |
| LinkBack | Thread Tools | Display Modes |
| |||
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 ''' |
| |