+1 vote

This was the error that I had encountered when I had a script inherit from another.

extends "res://entity.gd"

const DAMAGE = 1
const TYPE = 'PLAYER'

var SPEED = 100
var lifetime = 32

func shootatplayer(startpos):
global
position = startpos
var dest = get
parent().getnode('player').globalposition
var direction = (dest - start_pos)
movedir = direction

func physicsprocess(delta):
movement_loop()

if lifetime:
    lifetime -= 1
else:
    queue_free()

0:00:04:0579 - Condition ' debugparseerrline >= 0 ' is true. returned: __null

Type:Error
Description:
Time: 0:00:04:0579
C Error: Condition ' debugparseerrline >= 0 ' is true. returned: __null
C Source: modules/gdscript/gdscripteditor.cpp:287
C Function: debug
getstacklevel_instance

asked Dec 28, 2018 in Engine by AfterCadaver (24 points)

Please use code blocks. (triple backticks)

Is there an error in "res://entity.gd", perhaps?
If not, does your game run? If it does then close it and see if this error repeats.
You may also try restarting Godot.

No errors in the 'entity' script.

The game runs well otherwise. This is a consistent recurring error that still pops up even after restarting.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.