-
Notifications
You must be signed in to change notification settings - Fork 10
GameMaker Code Editor 2 Duplicating Object, that has inherited event, says there is no parent event #11963
Copy link
Copy link
Open
Open
GameMaker Code Editor 2 Duplicating Object, that has inherited event, says there is no parent event#11963
IDE Bug
Copy link
Labels
pluginThis issue is in a part of GM which is delivered as a standalone plugin via Package ManagerThis issue is in a part of GM which is delivered as a standalone plugin via Package Manager
Milestone
Description
What Is The Bug?
when duplicating an object with an inherited event, the event_inherited() is highlighted yellow and says "GM2040 - Call to event_inherited() in object with no parent event."
Seems to only happen when you duplicate an object, and rename it at the same time. does not seem to highlight yellow if you duplicate and use the default name.
Expected Change
The warning should not be presented, since it does inherit from a parent.
Steps To Reproduce
- Start GameMaker
- following the tutorial for adding a menu and buttons to the space rocks tutorial space rocks mods tutorial link
- have an parent object with an event
- create a new object, and set the new object to have a parent object.
- for the event in the new object, make it inherit the event from the parent
- then, click on the new object, click duplicate, and the look at this new objects event, the event_inherited() is highlighted yellow and says "GM2040 - Call to event_inherited() in object with no parent event."
- this only seems to happen when you click duplicate, then type a new name in for the object. if you just click duplicate, then use the provided name, it seems to not show the yellow highlighting.
- from what i can see, the event_inherited() is fine, even when its highlighted yellow, i think.
- See the issue
How reliably can you recreate this issue using your steps above?
Always
Which version of GameMaker are you reporting this issue for?
2024.13.1 (Monthly)
Which operating system(s) are you seeing the problem on?
Windows 11
Are you running GameMaker from inside your Steam library?
No
Sample Package
i dont have an account to upload a bug report, and dont want one at this time
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
pluginThis issue is in a part of GM which is delivered as a standalone plugin via Package ManagerThis issue is in a part of GM which is delivered as a standalone plugin via Package Manager
Type
Fields
Give feedbackNo fields configured for IDE Bug.
Projects
Status
Todo