Godot Version
godot4
Question
I would like to plus one to the variable kill_count if a mob died. See picture
main scene script have a variable called kill_count
Mob script
I don’t have mob in the main tree.The main scene is making the mob.
ty
godot4
I would like to plus one to the variable kill_count if a mob died. See picture
main scene script have a variable called kill_count
I don’t have mob in the main tree.The main scene is making the mob.
ty
You’ll want to look into using “signals” which are really useful for lots of things, you’ll wonder how you lived without them