Hey again!
Trying to get a little "fancier" and need to know how to make this happen. When I click on button (B1), it opens menu (A). From there, I select one of the two graphics which places an object (coding below).
What I would like to do is setup a function so that when I click on B2 or B3 or B4, the object associated with that button (1, 2, 3, 4) is placed in there x,y coordinates. Below is what happens when I click one of the images and I hard-coded the x,y to test but I need it to be dynamic based on the button pressed.
[CropSelectionMenu]
----+ Mouse: On Left button Clicked on CropSelectionBox
-----> System: Toggle CropSelectionMenu
----+ System: Is CropSelectionMenu
-----> System: Set layer "CropSelection" Visible
// Need to position the new crop where the dirt plot "was". Also need a way to close out the crop selection menu.
----+ Mouse: On Left button Clicked on Corn_Image2
-----> Dirt_Plot: Destroy
-----> CornPlant2: Destroy
-----> Strawberry: Destroy
--------+ System: Is CropSelectionMenu
---------> System: Create object CornPlant2 on layer "Crops" at (132, 345), create hierarchy: False
---------> System: Set CropSelectionMenu to False
---------> System: Set layer "CropSelection" Invisible
----+ Mouse: On Left button Clicked on Strawberry_Image2
-----> Dirt_Plot: Destroy
-----> CornPlant2: Destroy
-----> Strawberry: Destroy
--------+ System: Is CropSelectionMenu
---------> System: Create object Strawberry on layer "Crops" at (132, 345), create hierarchy: False
---------> System: Set CropSelectionMenu to False
---------> System: Set layer "CropSelection" Invisible
----+ Mouse: On Left button Clicked on CropSelectionBox
-----> System: Set layer "CropSelection" Invisible
-----> System: Set MainMenuVisible to False
Again, any help and/or guidance would be much appreciated, including links to other articles or vids (I've been looking into many so far but I could have missed a few).