Created
July 18, 2020 16:45
-
-
Save collinticer/bf1e1ec436647ac4f604ce66bade98b4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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