Skip to content

Instantly share code, notes, and snippets.

@collinticer
Created July 18, 2020 16:45
Show Gist options
  • Save collinticer/bf1e1ec436647ac4f604ce66bade98b4 to your computer and use it in GitHub Desktop.
Save collinticer/bf1e1ec436647ac4f604ce66bade98b4 to your computer and use it in GitHub Desktop.
var dialogObj = objectProperties[? "current_dialog"];
//if we're not currently in dialog and there's dialog queued up then show it
if( objectProperties[? "in_dialog"] == false && dialogObj != false )
{
ds_map_set( objectProperties, "in_dialog", true );
var newDialogObj = instance_create( x, y - 15, dialog_obj );
newDialogObj.dialogObjToDraw = dialogObj;
newDialogObj.parentInstance = self;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment