Created
July 9, 2020 05:21
-
-
Save collinticer/0ddf9ba5ad333bf443b82bbbcb895941 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 instance = argument0;//instance should be a "standard_obj" with the objectProperties attribute | |
var dialogToAdd = argument1;//instance should be a "new_dialog" | |
with( instance ) | |
{ | |
var tmpObjProps = instance.objectProperties; | |
var dialogsList = tmpObjProps[? "dialogs"]; | |
ds_list_add( dialogsList, dialogToAdd ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment