Paul Green
Member
Unsure what I've change in my code or the IDE, but I can compile my program with VM and YYC, and also create an executable and it builds and runs.
But, if I try to debug anything in my recent version of my project (and I know this because I've loaded up an earlier version, and used the debugger with no issues) it gives me errors that are saying that the/a variable has not been defined (although it's in the create event)
The only solution to this is to add the variables object name to the beginning of the variable.
example
in create I have [in object obj_intro_startup]
passes = 0 [which change in the step event]
blocks = 0 [which change in the step event]
startbump = 0 [which change in the step event]
code that doesn't work
if passes = blocks/2 * (startbump+1)
{
code I have to change it too for it to not chuck up an error in the debugger.
if obj_intro_startup.passes = obj_intro_startup.blocks/2 * (obj_intro_startup.startbump+1)
{
What have I changed, where should I be looking, it's only doing it on this version of my source and I don't fancy rolling back yet, if I can find a solution for this version I'm working on. If there is anything else I can provide [except the source code] then let me know.
edit: this issue was only happened to one object, all the other objects and source/game work with no issues within the debugger, I'm now even more confused. [as I went through the object conforming to the errors]
Thanks in advance.
But, if I try to debug anything in my recent version of my project (and I know this because I've loaded up an earlier version, and used the debugger with no issues) it gives me errors that are saying that the/a variable has not been defined (although it's in the create event)
The only solution to this is to add the variables object name to the beginning of the variable.
example
in create I have [in object obj_intro_startup]
passes = 0 [which change in the step event]
blocks = 0 [which change in the step event]
startbump = 0 [which change in the step event]
code that doesn't work
if passes = blocks/2 * (startbump+1)
{
code I have to change it too for it to not chuck up an error in the debugger.
if obj_intro_startup.passes = obj_intro_startup.blocks/2 * (obj_intro_startup.startbump+1)
{
What have I changed, where should I be looking, it's only doing it on this version of my source and I don't fancy rolling back yet, if I can find a solution for this version I'm working on. If there is anything else I can provide [except the source code] then let me know.
edit: this issue was only happened to one object, all the other objects and source/game work with no issues within the debugger, I'm now even more confused. [as I went through the object conforming to the errors]
Thanks in advance.
Last edited: