rainworld-like roaming monsters

Godot Version

4.7.1

Question

trying to create a signal that emits the location and name of the monster ( ideally also the time stamp that goes with my world clock)

signal persistant_monster( monster_name : String, monster_position : Vector2, timestamp : int)

but I am a little stumped

attempting to create mini boss like monsters that roam across the map, so im trying to save the position and monster name / type to an array, that can be reloaded when the scene is reloaded

(the timestamp would be used to add a little randomness to the position, but thats only if I get the array working)
does anyone have any advice to make this simpler?

Maybe you could use an Autoload to save this information.

would that work if I ave multiple enemies of the same type? or would this be more like - one roaming boss is just loaded globaly

Really hard to say, no idea how you are storing and loading the world. Depends how accurately you want to simulate such a creature, if you have scheduling systems already, and how your world is put together. You may need to get further along designing this before we can really help you.

perhaps this isn’t possible ..

right now just looking for a way to emit the location of monster to a seperate script

Signals are never emitted to something. They are just emitted. Whoever is interested in receiving the signal needs to connect to the signal of the node that emits it.