Hello,
for my game i want to reuse a “confirm”-popup.
My idea is to create an external layout for this.
my problem:
until now, i use buttons as global objects with a variable called “action”
every instance of the object has is one value
like this…

but if i use on of this global objects in an external layout, i see no chance to set this variable…
is there a good solution for this?
Unfortunately, external layouts only bring over objects. No event sheet logic from those sheets come over, as far as I know. You might be able to preset the variable on the object instance itself, but the events themselves will need to exist in the main scene event sheet, or in an external event sheet (not a layout) linked to the main scene.
Is there any other way to to set a object variable? Maybe by a function?