Hi,
Making good progress…
Need a little help with below:
How to apply force movement to only the newest spawned object?
Event code is below:
Currently the force movement is applied to all spawned objects.
Jesse Lee
Hi,
Making good progress…
Need a little help with below:
How to apply force movement to only the newest spawned object?
Event code is below:
Currently the force movement is applied to all spawned objects.
Jesse Lee
I never though about it but I just discovered that the spawner object creates objects on the layer that the spawner object is on. So, if you check the layer for the spawned object then it will pick that object. You can then change it’s layer and do whatever else. If you have several spawner, you could use different layers. You may need a for each object if there’s a chance multiple objects could be spawned simultaneously. Which is probably unlikely but you need to plan ahead.
In this example I added a layer called “SpawnLayer”
My previous method was using an object variable. It worked in a similar way. If the variable is false then set it to true and do something. It created a sort of instance trigger once.
Thanks, that worked perfectly…