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):
globalposition = startpos
var dest = getparent().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: debuggetstacklevel_instance