Question by
BlackVandal · Feb 04, 2016 at 05:38 AM ·
scripting probleminstantiatetransformspawn
Im trying to set a spawned enemy a transform on another script
What I have is a problem. I spawn an Enemy and set that object as a transform through script on another game object that gets instantiated at the same time.
The break down is this. Enemy Gets instantiated in Spawn Script. Tracking Marker Gets Instantiated on a Mini Map. Tracking Marker's Target Transform gets set to the Enemy that just Spawned.
My trouble is setting the transform through script on the Marker. I created a Marker Controller that controls deleting and creating of different markers.
Comment
could you give more details on your problem ? like your script are currently workin ?