Kanbei85
Member
I am trying to add the CreateObjectOnScreen command to a script for a new tile type I'm working on that will generate an animated puff of smoke by using a game object.
Problem is, for that macro, arg4 is "what screen do you want to create this object on?"
And I don't know the code for saying "whatever the current screen is". Anybody know how to do this? I just want this tile to generate a game object on that particular place on that particular screen wherever I place the tile type.
I'm also not sure I know how to properly code the X and Y coordinates of the tile into arg0 and arg1.
And also, I'm trying to make this tile active (creating the object) regardless of collision. I don't want the character to have to walk on the tile in order to cause it to create the object. Is this possible?
Problem is, for that macro, arg4 is "what screen do you want to create this object on?"
And I don't know the code for saying "whatever the current screen is". Anybody know how to do this? I just want this tile to generate a game object on that particular place on that particular screen wherever I place the tile type.
I'm also not sure I know how to properly code the X and Y coordinates of the tile into arg0 and arg1.
And also, I'm trying to make this tile active (creating the object) regardless of collision. I don't want the character to have to walk on the tile in order to cause it to create the object. Is this possible?
Last edited: