P
peanutbuuter
Guest
I was using a marketplace extension for a top down shooter, and i added a draw event to draw your score.
There was one line of code saying: 'Score: ' and one more saying 'string(global.score)'
It worked fine, and a few weeks later when i ran it it said
In Object oPlayer, in Event CreateEvent action number 1 at line 46 : "score" is a global built-in and cannot be used as an instance variable
In Object oEnemy, in Event CollisionEvent_11 action number 1 at line 6 : "score" is a global built-in and cannot be used as an instance variable
In Object oGame, in Event DrawEvent action number 1 at line 16 : "score" is a global built-in and cannot be used as an instance variable
Compile Failed - Please check the Compile window for any additional information
Collision Event 11 is when the bullet collides with the enemy
There was one line of code saying: 'Score: ' and one more saying 'string(global.score)'
It worked fine, and a few weeks later when i ran it it said
In Object oPlayer, in Event CreateEvent action number 1 at line 46 : "score" is a global built-in and cannot be used as an instance variable
In Object oEnemy, in Event CollisionEvent_11 action number 1 at line 6 : "score" is a global built-in and cannot be used as an instance variable
In Object oGame, in Event DrawEvent action number 1 at line 16 : "score" is a global built-in and cannot be used as an instance variable
Compile Failed - Please check the Compile window for any additional information
Collision Event 11 is when the bullet collides with the enemy