Whenever I emit something and message it using “Send to the last spawned object” the emitted object doesn’t receive the message. Does emit not count as spawn?
No it doesn’t. I made a feature request for that recently.
No… NOOO!!!
if tbis is regarding the thing that where you need to send a msg to the last emitted object then all you have to do is either send a message to all of that type or a global to all objects and you send out the msg right before you emit & then the object you emitted wont turn the switch off but all of the others will go off. this is an extension of this post:
lol I made that topic
ik. i just used his post so you knew more of what I was saying
I recommend using the spawn behavior instead of emitting, mostly because of this reason and the fact that you are kind of limited using emitted objects.
If you’re trying to make a bullet:
With spawn, you can just have it extract the players X and Y location or have it load up global behaviors with these values and use that to determine the location of the spawned object. Then when it’s spawned, you can give it a custom speed, direction etc, which can sometimes be hard to replicate using just emit.
To get it right, does take a bit to know, but once you figure it out, it definitely displays much better results.