Game Development Community

Flash of object before spawn in specified position?

by Sean Brady · in Torque 3D Professional · 08/23/2012 (5:41 am) · 4 replies

Has anyone ever tried to spawn lets say an object by script and when the object spawns for a split second before your scripted actions start, the spawned object appears in a completely different position then quickly adjusts to where you want it?

#1
08/23/2012 (7:38 pm)
If I understand you correctly I would use a schedule method to make this work set off by entering a trigger. Lets say it is a strange phantom creature that is to appear in a forest, as your character is walking he hits the trigger setting off three separate schedules. One to make the object appear another to make it disappear and then the last schedule to make the phantom appear the final time in the position you want.
#2
08/23/2012 (8:40 pm)
Cheers. I will definitely give that a go and get back to you about result. ;)
#3
08/24/2012 (9:20 am)
Worked a treat cheers!
#4
08/25/2012 (8:14 am)
Happy to help. I am so busy right now with weird scheduling that I was not able to track down a few working examples to help, so I am glad that you were able to get it going from there.

Take Care