#project-help-old #1019643735153328138 o I got this shooter game I’m trying to make like old doom kinda. Ive got all the code for zombie, player, and the animations but, i have a few errors I dont understand like these -the-photos-
And when I click play it goes black. And the errors are weird bc if you look it says that there is no raycast?? Which if you look there is (this raycast being the enemy ai raycast. And the animation player for the enemy ai. So im confused pls help?
#my 2d Shooter is acting weird can someone help??? pls😂
9 messages · Page 1 of 1 (latest)
Because raycast and AnimationPlayer are siblings to the Zombie node (where the script is), not children.
So instead of $RayCast, try $"../RayCast"
And instead of $AnimationPlayer, try $"../AnimationPlayer"
Ok lemme try rq ill lyk thnk u
But now this pops up?
How do i fix the no node found for the ../raycast and ../animationplayer
I was referring to changing the lines in the Zombie script, which you showed previously.
I did
I can't see what nodes are under it, but if it's got the same structure as the Zombie scene, you should be able to remove the ../ for the Player script, as the script there is on the parent node.