So I'm using LUA Triggers at the end of my Ramp.dae objects for affects. These series of pre-made Ramp Props, Are Separately Packed Into Prefabs, combining each ramp with its corresponding LUA Trigger that gives various affects. I Tried This as a First Approach, To Make It Easy For Players To duplicate Ramps With The Lua Trigger Attached. The issue is when players go to duplicate a prefab, to place more of the same ramp objects in the scene, the LUA Trigger is not included with it/within the duplicated prefab. Only the original prefab will have the LUA Trigger if that makes sense. So I'm trying to make it easy for people to set up the level however they want by moving around and placing and/or duplicating these Ramp.dae objects that have LUA Trigger Boxes at the tips of the jumps, with simple functions. So i figured that's the best route to combine these affects to the objects. But would there be any possible way to pair these LUA functions to these objects another way, permanently, or at least sticky enough that players can duplicate the ramp and trigger as one without error?
If you copy your prefab I’m pretty sure some name or id the trigger is referring to changes. Then you have to change it in the copied trigger accordingly.
Ii wont duplicate at all, it actually breaks and removes the orginal lua trigger for the orginal prefab, and only duplicated the ramp leaving two ramps and no LUA, its a nasty bug i guess. Wish there was another method