Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
those 3 lines of code are in step event?
But... what? Your code thar doesn't seem like it should do anything, I can't even guess what it does
That said, I think what you want is an if statement, not a while loop. what you have there, even if you set button to id (which... you could skip entirely, since id is already stored, and what you really only need is to get ids of objects other than self), will loop forever once button exceeds zero, because nowhere in the following code does button get changed to below 0.
if button != 0 then { things }
So i want randomise string into parent button and into buttons just draw(and write obj - type)
So
Button = id; //if im not mistaken
if you want the id of the object you collide with it should be:
Button = instance_place(x, y, objectname_youwantidoff); // this is usually used to distinguish different instances of the same object or its child object.